From 182366392adb7379f7fb48eaaa8c457672781719 Mon Sep 17 00:00:00 2001 From: Yuqing Zhu Date: Thu, 6 Aug 2015 18:32:06 +0800 Subject: 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 --- .../gstplaybin-enable-native-video.patch | 31 ---------------------- .../gstplaybin-remove-flag-deinterlace.patch | 31 ++++++++++++++++++++++ .../gstreamer/gstreamer1.0-plugins-base_%.bbappend | 5 ++-- 3 files changed, 34 insertions(+), 33 deletions(-) delete mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch create mode 100644 recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch (limited to 'recipes-multimedia/gstreamer') diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch deleted file mode 100644 index 15322bd6..00000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch +++ /dev/null @@ -1,31 +0,0 @@ -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 - -- use native video patch in playbin for i.MX SoCs - -Upstream Status: Inappropriate [platform specific] - -Signed-off-by: Jian Li ---- - gst/playback/gstplaybin2.c | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c -index fc02ca3..c342438 100644 ---- a/gst/playback/gstplaybin2.c -+++ b/gst/playback/gstplaybin2.c -@@ -511,8 +511,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_DEINTERLACE | \ -- GST_PLAY_FLAG_SOFT_COLORBALANCE -+ 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.9.5 - diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch new file mode 100644 index 00000000..f2377761 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-remove-flag-deinterlace.patch @@ -0,0 +1,31 @@ +From 9cfb86cd100904f0ef2626f348695bd2d3416c6a Mon Sep 17 00:00:00 2001 +From: Jian Li +Date: Mon, 23 Jun 2014 14:14:07 +0800 +Subject: [PATCH] gstplaybin remove default deinterlace flag + +- remove default deinterlace flag in playbin for i.MX SoCs + +Upstream-Status: Inappropriate [platform specific] + +Signed-off-by: Jian Li +--- + gst/playback/gstplaybin2.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c +index fc02ca3..c342438 100644 +--- a/gst/playback/gstplaybin2.c ++++ b/gst/playback/gstplaybin2.c +@@ -511,8 +511,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_DEINTERLACE | \ +- GST_PLAY_FLAG_SOFT_COLORBALANCE ++ 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}" -- cgit v1.2.3-54-g00ecf