aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-multimedia/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch')
-rw-r--r--recipes-multimedia/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch b/recipes-multimedia/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch
new file mode 100644
index 0000000..16d89b3
--- /dev/null
+++ b/recipes-multimedia/gstreamer/gst-plugins-base/gstplaybin2-rawvideo-support.patch
@@ -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