summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
authorYuqing Zhu <b54851@freescale.com>2015-08-06 18:32:06 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2015-08-06 09:29:58 -0300
commit6f47a134c5f729f8b6a5821cb37f0d58c61e2d38 (patch)
treea235587717df7159378c82c9f7b335b1261ccaad /recipes-multimedia/gstreamer
parentc00e69c787e107813000a9b4cf31083632fd3796 (diff)
downloadmeta-fsl-arm-6f47a134c5f729f8b6a5821cb37f0d58c61e2d38.tar.gz
gstreamer1.0-plugins-base: Add gstplaybin related patch
- Remove default deinterlace flag in playbin for i.MX6 and i.MX7 SoCs. - Remove native video flag in playbin for i.MX6 and i.MX7 SoCs because it will cause subtitle error. Signed-off-by: Yuqing Zhu <b54851@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-multimedia/gstreamer')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch)10
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend5
2 files changed, 8 insertions, 7 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch
index 15322bd..f237776 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch
@@ -1,11 +1,11 @@
1From 9cfb86cd100904f0ef2626f348695bd2d3416c6a Mon Sep 17 00:00:00 2001 1From 9cfb86cd100904f0ef2626f348695bd2d3416c6a Mon Sep 17 00:00:00 2001
2From: Jian Li <jian.li@freescale.com> 2From: Jian Li <jian.li@freescale.com>
3Date: Mon, 23 Jun 2014 14:14:07 +0800 3Date: Mon, 23 Jun 2014 14:14:07 +0800
4Subject: [PATCH] gstplaybin enable native video 4Subject: [PATCH] gstplaybin remove default deinterlace flag
5 5
6- use native video patch in playbin for i.MX SoCs 6- remove default deinterlace flag in playbin for i.MX SoCs
7 7
8Upstream Status: Inappropriate [platform specific] 8Upstream-Status: Inappropriate [platform specific]
9 9
10Signed-off-by: Jian Li <jian.li@freescale.com> 10Signed-off-by: Jian Li <jian.li@freescale.com>
11--- 11---
@@ -22,10 +22,10 @@ index fc02ca3..c342438 100644
22 #define DEFAULT_FLAGS GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \ 22 #define DEFAULT_FLAGS GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \
23- GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_DEINTERLACE | \ 23- GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_DEINTERLACE | \
24- GST_PLAY_FLAG_SOFT_COLORBALANCE 24- GST_PLAY_FLAG_SOFT_COLORBALANCE
25+ GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_NATIVE_VIDEO 25+ GST_PLAY_FLAG_SOFT_VOLUME
26 #define DEFAULT_N_VIDEO 0 26 #define DEFAULT_N_VIDEO 0
27 #define DEFAULT_CURRENT_VIDEO -1 27 #define DEFAULT_CURRENT_VIDEO -1
28 #define DEFAULT_N_AUDIO 0 28 #define DEFAULT_N_AUDIO 0
29-- 29--
301.7.9.5 301.7.9.5
31 31
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend
index 766971f..ff4d77b 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend
@@ -1,6 +1,7 @@
1
2FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
3 2
4SRC_URI_append_mx6 = " file://gstplaybin-enable-native-video.patch" 3SRC_URI_append_mx6 = " file://gstplaybin-remove-flag-deinterlace.patch"
4SRC_URI_append_mx7 = " file://gstplaybin-remove-flag-deinterlace.patch"
5 5
6PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" 6PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}"
7PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}"