diff options
author | Adrian Alonso <aalonso@freescale.com> | 2012-06-29 13:55:41 -0500 |
---|---|---|
committer | Adrian Alonso <aalonso@freescale.com> | 2012-06-29 13:59:51 -0500 |
commit | 17b00232980582eb1df83c5060b0cfbdafc532d5 (patch) | |
tree | 5eaf689d7bb35afed8f9a658c64e0b6742bae379 | |
parent | 3044ab0cabae3a451a6d606add3b42650dc3835e (diff) | |
download | meta-fsl-arm-17b00232980582eb1df83c5060b0cfbdafc532d5.tar.gz |
gst-plugins-base: gstplaybin2 rawvideo support
* Add gstplaybin2 rawvideo support
* Direct rendering support for mfw_v4lsink
Signed-off-by: Adrian Alonso <aalonso@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Acked-by: Daiane Angolini <daiane.angolini@freescale.com>
-rw-r--r-- | recipes-multimedia/gst-plugins/gst-plugins-base/gstplaybin2-rawvideo-support.patch | 28 | ||||
-rw-r--r-- | recipes-multimedia/gst-plugins/gst-plugins-base_0.10.36.bbappend | 12 |
2 files changed, 40 insertions, 0 deletions
diff --git a/recipes-multimedia/gst-plugins/gst-plugins-base/gstplaybin2-rawvideo-support.patch b/recipes-multimedia/gst-plugins/gst-plugins-base/gstplaybin2-rawvideo-support.patch new file mode 100644 index 0000000..16d89b3 --- /dev/null +++ b/recipes-multimedia/gst-plugins/gst-plugins-base/gstplaybin2-rawvideo-support.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From cecba1668bc8607112a6a2b802c82b6313a0d2b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Alonso <aalonso@freescale.com> | ||
3 | Date: Tue, 19 Jun 2012 15:37:56 -0500 | ||
4 | Subject: [PATCH] gstplaybin2: rawvideo support | ||
5 | |||
6 | * Enable support for rawvideo | ||
7 | * Support direct rendering for mfw_v4lsink plugin | ||
8 | |||
9 | Signed-off-by: Adrian Alonso <aalonso@freescale.com> | ||
10 | --- | ||
11 | gst/playback/gstplaybin2.c | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c | ||
15 | index e01ff6c..9c638ae 100644 | ||
16 | --- a/gst/playback/gstplaybin2.c | ||
17 | +++ b/gst/playback/gstplaybin2.c | ||
18 | @@ -456,7 +456,7 @@ struct _GstPlayBinClass | ||
19 | #define DEFAULT_SUBURI NULL | ||
20 | #define DEFAULT_SOURCE NULL | ||
21 | #define DEFAULT_FLAGS GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \ | ||
22 | - GST_PLAY_FLAG_SOFT_VOLUME | ||
23 | + GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_NATIVE_VIDEO | ||
24 | #define DEFAULT_N_VIDEO 0 | ||
25 | #define DEFAULT_CURRENT_VIDEO -1 | ||
26 | #define DEFAULT_N_AUDIO 0 | ||
27 | -- | ||
28 | 1.7.10.2 | ||
diff --git a/recipes-multimedia/gst-plugins/gst-plugins-base_0.10.36.bbappend b/recipes-multimedia/gst-plugins/gst-plugins-base_0.10.36.bbappend new file mode 100644 index 0000000..ac420ce --- /dev/null +++ b/recipes-multimedia/gst-plugins/gst-plugins-base_0.10.36.bbappend | |||
@@ -0,0 +1,12 @@ | |||
1 | # Freescale gstplaybin2 rawvideo support | ||
2 | |||
3 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
4 | PRINC := "${@int(PRINC) + 1}" | ||
5 | |||
6 | SRC_URI_append_mxs = " file://gstplaybin2-rawvideo-support.patch" | ||
7 | SRC_URI_append_mx5 = " file://gstplaybin2-rawvideo-support.patch" | ||
8 | SRC_URI_append_mx6 = " file://gstplaybin2-rawvideo-support.patch" | ||
9 | |||
10 | PACKAGE_ARCH_mxs = "${MACHINE_ARCH}" | ||
11 | PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}" | ||
12 | PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" | ||