@@ -8,6 +8,10 @@ CONFIGURE_USE_FLAGS = "use=vorbis:depend=libvorbis:autolib=vorbis:autordepend=li
CONFIGURE_USE_FLAGS += "use=alsa:depend=libasound:autolib=alsa:autordepend=libasound"
CONFIGURE_USE_FLAGS += "use=ogg:depend=libogg:autolib=ogg:autordepend=libogg"
CONFIGURE_USE_FLAGS += "use=video4linux:conf=gst_v4l:autolib=video4linux"
+CONFIGURE_USE_FLAGS += "use=gst_x11:conf=x:depend=libx11,libxv:autolib=ximagesink,xvimagesink"
+
+SRC_URI += "file://gstplaybin2-rawvideo-support.patch \
+ file://configure.ac-fix-subparse-plugin.patch"
FILES_${PN} = "\
${base_libdir}/*${SOLIBS} \
new file mode 100644
@@ -0,0 +1,27 @@
+Upstream-Status: Submitted [similar patch by other author, bugzilla]
+Bugtracker-URL: https://bugzilla.gnome.org/show_bug.cgi?id=663600
+
+Prepend PKG_CONFIG_SYSROOT to includedir, so configure doesn't
+search for gstconfig.h in /usr/include.
+
+Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
+---
+ configure.ac | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 1901bcf..460fb0a 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -435,7 +435,7 @@ AG_GST_CHECK_PLUGIN(volume)
+ dnl check for gstreamer core features (subsystems)
+ dnl FIXME: this assumes srcdir == builddir for uninstalled setups
+ GST_CONFIGPATH=`$PKG_CONFIG --variable=includedir gstreamer-0.10`"/gst/gstconfig.h"
+-AG_GST_PARSE_SUBSYSTEM_DISABLES($GST_CONFIGPATH)
++AG_GST_PARSE_SUBSYSTEM_DISABLES($PKG_CONFIG_SYSROOT_DIR$GST_CONFIGPATH)
+ AM_CONDITIONAL(USE_XML, test $GST_DISABLE_XML != "1")
+
+ dnl disable plug-ins that require libxml2's HTML support if it is not available
+--
+1.7.5.4
+
new file mode 100644
@@ -0,0 +1,28 @@
+From cecba1668bc8607112a6a2b802c82b6313a0d2b4 Mon Sep 17 00:00:00 2001
+From: Adrian Alonso <aalonso@freescale.com>
+Date: Tue, 19 Jun 2012 15:37:56 -0500
+Subject: [PATCH] gstplaybin2: rawvideo support
+
+* Enable support for rawvideo
+* Support direct rendering for mfw_v4lsink plugin
+
+Signed-off-by: Adrian Alonso <aalonso@freescale.com>
+---
+ gst/playback/gstplaybin2.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
+index e01ff6c..9c638ae 100644
+--- a/gst/playback/gstplaybin2.c
++++ b/gst/playback/gstplaybin2.c
+@@ -456,7 +456,7 @@ struct _GstPlayBinClass
+ #define DEFAULT_SUBURI NULL
+ #define DEFAULT_SOURCE NULL
+ #define DEFAULT_FLAGS GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \
+- GST_PLAY_FLAG_SOFT_VOLUME
++ GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_NATIVE_VIDEO
+ #define DEFAULT_N_VIDEO 0
+ #define DEFAULT_CURRENT_VIDEO -1
+ #define DEFAULT_N_AUDIO 0
+--
+1.7.10.2
From: Christian Sørensen <christian.braunersorensen@prevas.dk> --- recipes/gstreamer/gst-plugins-base.inc | 4 ++++ .../configure.ac-fix-subparse-plugin.patch | 27 +++++++++++++++++++++ .../gstplaybin2-rawvideo-support.patch | 28 ++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 recipes/gstreamer/gst-plugins-base/configure.ac-fix-subparse-plugin.patch create mode 100644 recipes/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch