gst-plugins-good 0.10.17: depend on libv4l in order to fix a webcam
authorDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Thu, 25 Feb 2010 00:21:50 +0000 (01:21 +0100)
committerDenis 'GNUtoo' Carikli <GNUtoo@no-log.org>
Thu, 25 Feb 2010 16:00:04 +0000 (17:00 +0100)
gst-launch v4lsrc ! jpegdec ! xvimagesink doesn't work if you don't
  depend on libv4l with my gspca webcam.
The fix was suggested in #gstreamer in freenode:
  Feb 20 20:37:36 <fargiolas>     GNUtoo: did you compile it on
   your own? it seems it's not compiled with libv4l support
  And:
  Feb 20 20:43:08 <fargiolas>     GNUtoo: probably your device
   output frames in an exotic pixel format and libv4l is needed
   to decode it
The webcam was a gspca_zc3xx webcam

recipes/gstreamer/gst-plugins-good_0.10.17.bb

index 1bcb055..c53fc47 100644 (file)
@@ -3,12 +3,13 @@ require gst-plugins.inc
 SRC_URI += "file://flvdemux-ecma.diff;patch=1 \
 "
 
-PR = "r2"
+PR = "r3"
 
 inherit gconf 
 
-DEPENDS += "hal pulseaudio speex libsoup-2.4 flac gst-plugins-base openssl popt esound"
+DEPENDS += "hal pulseaudio speex libsoup-2.4 flac gst-plugins-base openssl popt esound libv4l"
 
 PACKAGES =+ "gst-plugin-gconfelements"
 FILES_gst-plugin-gconfelements += "${sysconfdir}/gconf"
 
+EXTRA_OECONF += " --with-libv4l2 "