[vlc-commits] Qt4: fix V4L2 video standard in open dialog

Rémi Denis-Courmont git at videolan.org
Sat Sep 3 12:46:47 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Sep  3 13:46:29 2011 +0300| [8dd3b9876b5491d251d6101712720b6add3d9047] | committer: Rémi Denis-Courmont

Qt4: fix V4L2 video standard in open dialog

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8dd3b9876b5491d251d6101712720b6add3d9047
---

 modules/gui/qt4/components/open_panels.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index b55b08c..c1a57e0 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -1052,8 +1052,9 @@ void CaptureOpenPanel::updateMRL()
 #else
     case V4L2_DEVICE:
         fileList << "v4l2://" + v4l2VideoDevice->currentText();
+        mrl += ":v4l2-standard="
+            + v4l2StdBox->itemData( v4l2StdBox->currentIndex() ).toString();
         mrl += " :input-slave=alsa://" + v4l2AudioDevice->currentText();
-        mrl += " :v4l2-standard=" + QString::number( v4l2StdBox->currentIndex() );
         break;
     case JACK_DEVICE:
         mrl = "jack://";



More information about the vlc-commits mailing list