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

Qt4: correct v4l2-standard values (fix #5500)

parent fe249249
...@@ -1140,7 +1140,8 @@ void CaptureOpenPanel::updateMRL() ...@@ -1140,7 +1140,8 @@ void CaptureOpenPanel::updateMRL()
case V4L2_DEVICE: case V4L2_DEVICE:
fileList << "v4l2://" + v4l2VideoDevice->text(); fileList << "v4l2://" + 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->itemData(
v4l2StdBox->currentIndex() ).toInt() );
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