Fixes a failure to preview the video device on GNU/Linux. Reported by pierigno.