From 182366392adb7379f7fb48eaaa8c457672781719 Mon Sep 17 00:00:00 2001 From: Yuqing Zhu Date: Thu, 6 Aug 2015 18:32:06 +0800 Subject: [PATCH] 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 Signed-off-by: Otavio Salvador --- ....patch => gstplaybin-remove-flag-deinterlace.patch} | 10 +++++----- .../gstreamer/gstreamer1.0-plugins-base_%.bbappend | 5 +++-- 2 files changed, 8 insertions(+), 7 deletions(-) rename recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/{gstplaybin-enable-native-video.patch => gstplaybin-remove-flag-deinterlace.patch} (79%) 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 similarity index 79% rename from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch rename to recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch index 15322bd6..f2377761 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 @@ From 9cfb86cd100904f0ef2626f348695bd2d3416c6a Mon Sep 17 00:00:00 2001 From: Jian Li Date: Mon, 23 Jun 2014 14:14:07 +0800 -Subject: [PATCH] gstplaybin enable native video +Subject: [PATCH] gstplaybin remove default deinterlace flag -- use native video patch in playbin for i.MX SoCs +- remove default deinterlace flag in playbin for i.MX SoCs -Upstream Status: Inappropriate [platform specific] +Upstream-Status: Inappropriate [platform specific] Signed-off-by: Jian Li --- @@ -22,10 +22,10 @@ index fc02ca3..c342438 100644 #define DEFAULT_FLAGS GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \ - GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_DEINTERLACE | \ - GST_PLAY_FLAG_SOFT_COLORBALANCE -+ GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_NATIVE_VIDEO ++ GST_PLAY_FLAG_SOFT_VOLUME #define DEFAULT_N_VIDEO 0 #define DEFAULT_CURRENT_VIDEO -1 #define DEFAULT_N_AUDIO 0 --- +-- 1.7.9.5 diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend index 766971f6..ff4d77b7 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend @@ -1,6 +1,7 @@ - FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI_append_mx6 = " file://gstplaybin-enable-native-video.patch" +SRC_URI_append_mx6 = " file://gstplaybin-remove-flag-deinterlace.patch" +SRC_URI_append_mx7 = " file://gstplaybin-remove-flag-deinterlace.patch" PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" +PACKAGE_ARCH_mx7 = "${MACHINE_SOCARCH}" -- 2.40.1