Commit 31927c89 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix DShow capture names with spaces, spotted by Andre Weber.

Fix Apple iSight on windows :D
parent 944ddb5b
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment