[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:51:02 CEST 2009


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

qt4: v4l2 input no longer support audio capture. Use :input-slave=alsa:// instead.

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

 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 7d9277c..b143a75 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -1141,14 +1141,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