[vlc-devel] commit: Fix DShow capture names with spaces, spotted by Andre Weber. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Mar 15 19:51:02 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Mar 15 11:46:54 2008 -0700| [31927c895c0f13237bf734cbae39f915bb2b3786]

Fix DShow capture names with spaces, spotted by Andre Weber.
Fix Apple iSight on windows :D

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

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

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 61798d2..a9f27f4 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -940,8 +940,8 @@ void CaptureOpenPanel::updateMRL()
         break;
     case DSHOW_DEVICE:
         mrl = "dshow://";
-        mrl += " :dshow-vdev=" + QString("%1").arg( vdevDshowW->getValue() );
-        mrl += " :dshow-adev=" + QString("%1").arg( adevDshowW->getValue() );
+        mrl+= " :dshow-vdev=" + QString("\"%1\"").arg( vdevDshowW->getValue() );
+        mrl+= " :dshow-adev=" + QString("\"%1\"").arg( adevDshowW->getValue() );
         if( dshowVSizeLine->isModified() )
             mrl += " :dshow-size=" + dshowVSizeLine->text();
         break;




More information about the vlc-devel mailing list