vlc/vlc-1.1 | branch: master | Rémi Denis-Courmont <[email protected]> | Tue Nov  
1 18:11:45 2011 +0200| [f446b78142ba85b20f5f7ce515ae4459e4640423] | committer: 
Rémi Denis-Courmont

Qt4: correct v4l2-standard values (fix #5500)

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

 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 b32108e..27c0c78 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -1140,7 +1140,8 @@ void CaptureOpenPanel::updateMRL()
     case V4L2_DEVICE:
         fileList << "v4l2://" + v4l2VideoDevice->text();
         mrl += " :input-slave=alsa://" + v4l2AudioDevice->text();
-        mrl += " :v4l2-standard=" + QString::number( 
v4l2StdBox->currentIndex() );
+        mrl += " :v4l2-standard=" + QString::number( v4l2StdBox->itemData(
+                                        v4l2StdBox->currentIndex() ).toInt() );
         break;
     case JACK_DEVICE:
         mrl = "jack://";

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to