Commit a2700366 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

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

(cherry picked from commit 8d26f8c3)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 517729cd
...@@ -1146,8 +1146,7 @@ void CaptureOpenPanel::updateMRL() ...@@ -1146,8 +1146,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