qt4: v4l2 input no longer support audio capture. Use :input-slave=alsa:// instead.
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Fri, 26 Jun 2009 14:46:46 +0000 (16:46 +0200)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Fri, 26 Jun 2009 14:49:26 +0000 (16:49 +0200)
(cherry picked from commit 9723a59803b71523d540d2070e60f2f11907d28e)

Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
modules/gui/qt4/components/open_panels.cpp

index 31ed8b2..103208f 100644 (file)
@@ -1153,14 +1153,14 @@ void CaptureOpenPanel::updateMRL()
     case V4L_DEVICE:
         fileList << "v4l://";
         mrl += " :v4l-vdev=" + v4lVideoDevice->text();
-        mrl += " :v4l-adev=" + v4lAudioDevice->text();
+        mrl += " :input-slave=alsa://" + v4lAudioDevice->text();
         mrl += " :v4l-norm=" + QString::number( v4lNormBox->currentIndex() );
         mrl += " :v4l-frequency=" + QString::number( v4lFreq->value() );
         break;
     case V4L2_DEVICE:
         fileList << "v4l2://";
         mrl += " :v4l2-dev=" + v4l2VideoDevice->text();
-        mrl += " :v4l2-adev=" + v4l2AudioDevice->text();
+        mrl += " :input-slave=alsa://" + v4l2AudioDevice->text();
         mrl += " :v4l2-standard=" + QString::number( v4l2StdBox->currentIndex() );
         break;
     case JACK_DEVICE: