Commit 8dd3b987 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: fix V4L2 video standard in open dialog

parent 5df99e7a
...@@ -1052,8 +1052,9 @@ void CaptureOpenPanel::updateMRL() ...@@ -1052,8 +1052,9 @@ void CaptureOpenPanel::updateMRL()
#else #else
case V4L2_DEVICE: case V4L2_DEVICE:
fileList << "v4l2://" + v4l2VideoDevice->currentText(); fileList << "v4l2://" + v4l2VideoDevice->currentText();
mrl += ":v4l2-standard="
+ v4l2StdBox->itemData( v4l2StdBox->currentIndex() ).toString();
mrl += " :input-slave=alsa://" + v4l2AudioDevice->currentText(); mrl += " :input-slave=alsa://" + v4l2AudioDevice->currentText();
mrl += " :v4l2-standard=" + QString::number( v4l2StdBox->currentIndex() );
break; break;
case JACK_DEVICE: case JACK_DEVICE:
mrl = "jack://"; mrl = "jack://";
......
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