Qt: v4l2 syntax isn't :v4l2-dev= ...
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 10 Jul 2009 10:30:12 +0000 (12:30 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 10 Jul 2009 10:30:38 +0000 (12:30 +0200)
modules/gui/qt4/components/open_panels.cpp

index 103208f..32f8eca 100644 (file)
@@ -1158,8 +1158,7 @@ void CaptureOpenPanel::updateMRL()
         mrl += " :v4l-frequency=" + QString::number( v4lFreq->value() );
         break;
     case V4L2_DEVICE:
-        fileList << "v4l2://";
-        mrl += " :v4l2-dev=" + v4l2VideoDevice->text();
+        fileList << "v4l2://" + v4l2VideoDevice->text();
         mrl += " :input-slave=alsa://" + v4l2AudioDevice->text();
         mrl += " :v4l2-standard=" + QString::number( v4l2StdBox->currentIndex() );
         break;