[vlc-devel] commit: qt4: v4l2 input no longer support audio capture. Use :input-slave= alsa:// instead. (Jean-Paul Saman )

git version control git at videolan.org
Fri Jun 26 16:50:05 CEST 2009


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Fri Jun 26 16:46:46 2009 +0200| [1ca44225729ded993e89dd29efddc8d8c9a6df81] | committer: Jean-Paul Saman 

qt4: v4l2 input no longer support audio capture. Use :input-slave=alsa:// instead.
(cherry picked from commit 9723a59803b71523d540d2070e60f2f11907d28e)

Signed-off-by: Jean-Paul Saman <jean-paul.saman at m2x.nl>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1ca44225729ded993e89dd29efddc8d8c9a6df81
---

 modules/gui/qt4/components/open_panels.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index 31ed8b2..103208f 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -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:




More information about the vlc-devel mailing list