Commit 8d26f8c3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: v4l2 syntax isn't :v4l2-dev= ...

parent a9d0ab74
...@@ -1158,8 +1158,7 @@ void CaptureOpenPanel::updateMRL() ...@@ -1158,8 +1158,7 @@ void CaptureOpenPanel::updateMRL()
mrl += " :v4l-frequency=" + QString::number( v4lFreq->value() ); mrl += " :v4l-frequency=" + QString::number( v4lFreq->value() );
break; break;
case V4L2_DEVICE: case V4L2_DEVICE:
fileList << "v4l2://"; fileList << "v4l2://" + v4l2VideoDevice->text();
mrl += " :v4l2-dev=" + v4l2VideoDevice->text();
mrl += " :input-slave=alsa://" + v4l2AudioDevice->text(); mrl += " :input-slave=alsa://" + v4l2AudioDevice->text();
mrl += " :v4l2-standard=" + QString::number( v4l2StdBox->currentIndex() ); mrl += " :v4l2-standard=" + QString::number( v4l2StdBox->currentIndex() );
break; 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