diff --git a/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.8.3/0001-Need-to-check-if-pa-stream-is-still-valid.patch b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.8.3/0001-Need-to-check-if-pa-stream-is-still-valid.patch new file mode 100644 index 000000000..1b4bece73 --- /dev/null +++ b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.8.3/0001-Need-to-check-if-pa-stream-is-still-valid.patch @@ -0,0 +1,36 @@ +From: Jian +Date: Tue, 3 Feb 2015 17:08:40 +0800 +Subject: [PATCH] Need to check if pa stream is still valid + +Fixed the issue that will report pulse server is dead +when doing audio track switching. +Need to check if pa stream is valid as it may be released +by caps change. + +Upstream Status: Submitted +https://bugzilla.gnome.org/show_bug.cgi?id=743912 + +Signed-off-by: Jian +Signed-off-by: Lyon Wang +--- + ext/pulse/pulsesink.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c +index c88fa965b0ee..2f3bc603f447 100644 +--- a/ext/pulse/pulsesink.c ++++ b/ext/pulse/pulsesink.c +@@ -2023,6 +2023,13 @@ gst_pulsesink_get_time (GstClock * clock, GstAudioBaseSink * sink) + } + + pa_threaded_mainloop_lock (mainloop); ++ ++ /* Need to check if pa stream is valid as it may be released by caps change*/ ++ if (!pbuf->stream) { ++ pa_threaded_mainloop_unlock (mainloop); ++ return GST_CLOCK_TIME_NONE; ++ } ++ + if (gst_pulsering_is_dead (psink, pbuf, TRUE)) + goto server_dead; + diff --git a/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.4.5/aacparse-Fix-aacparse-error-tolerance-issue.patch b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.8.3/0002-Fix-aacpase-error-tolerance-issue.patch similarity index 74% rename from meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.4.5/aacparse-Fix-aacparse-error-tolerance-issue.patch rename to meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.8.3/0002-Fix-aacpase-error-tolerance-issue.patch index 1ce4b66f9..93be9e47e 100644 --- a/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.4.5/aacparse-Fix-aacparse-error-tolerance-issue.patch +++ b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.8.3/0002-Fix-aacpase-error-tolerance-issue.patch @@ -1,7 +1,6 @@ -From 5f97dff4bb844ae17870d9dc62aefefd6dba077b Mon Sep 17 00:00:00 2001 From: Lyon Wang Date: Fri, 6 Feb 2015 11:27:47 +0800 -Subject: [PATCH] [aacparse] Fix aacpase error tolerance issue +Subject: [PATCH] Fix aacpase error tolerance issue There is no need to check channel configure in adts header. The channel could be output of decoder. @@ -10,17 +9,17 @@ No need to return fatal error here. https://bugzilla.gnome.org/show_bug.cgi?id=743332 UpStream Status: Pending - + Signed-off-by: Lyon Wang --- - gst/audioparsers/gstaacparse.c | 2 +- + gst/audioparsers/gstaacparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audioparsers/gstaacparse.c b/gst/audioparsers/gstaacparse.c -index 2a37c37..550e304 100644 +index 514e4f489c1e..8e106635211d 100644 --- a/gst/audioparsers/gstaacparse.c +++ b/gst/audioparsers/gstaacparse.c -@@ -831,7 +831,7 @@ gst_aac_parse_detect_stream (GstAacParse * aacparse, +@@ -861,7 +861,7 @@ gst_aac_parse_detect_stream (GstAacParse * aacparse, gst_aac_parse_parse_adts_header (aacparse, data, &rate, &channels, &aacparse->object_type, &aacparse->mpegversion); @@ -29,6 +28,3 @@ index 2a37c37..550e304 100644 GST_DEBUG_OBJECT (aacparse, "impossible ADTS configuration"); return FALSE; } --- -1.7.9.5 - diff --git a/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.8.3/0003-ximageutil-shouldn-t-implement-transform-if-don-t-su.patch b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.8.3/0003-ximageutil-shouldn-t-implement-transform-if-don-t-su.patch new file mode 100644 index 000000000..4d794a671 --- /dev/null +++ b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good-1.8.3/0003-ximageutil-shouldn-t-implement-transform-if-don-t-su.patch @@ -0,0 +1,44 @@ +From: Song Bing +Date: Tue, 26 Apr 2016 16:49:33 +0800 +Subject: [PATCH] ximageutil: shouldn't implement transform if don't support + it. + +shouldn't implement transform if don't support it. Or +gst_buffer_copy_into() will print ERROR log. + +Upstream-Status: Backport [1.9.1] + +https://bugzilla.gnome.org/show_bug.cgi?id=765583 +--- + sys/ximage/ximageutil.c | 11 +---------- + 1 file changed, 1 insertion(+), 10 deletions(-) + +diff --git a/sys/ximage/ximageutil.c b/sys/ximage/ximageutil.c +index ac2fd49f0c34..add04225b823 100644 +--- a/sys/ximage/ximageutil.c ++++ b/sys/ximage/ximageutil.c +@@ -36,15 +36,6 @@ gst_meta_ximage_api_get_type (void) + return type; + } + +-static gboolean +-gst_meta_ximage_transform (GstBuffer * dest, GstMeta * meta, +- GstBuffer * buffer, GQuark type, gpointer data) +-{ +- /* ximage metadata can't be transformed or copied */ +- +- return FALSE; +-} +- + const GstMetaInfo * + gst_meta_ximage_get_info (void) + { +@@ -54,7 +45,7 @@ gst_meta_ximage_get_info (void) + const GstMetaInfo *meta = + gst_meta_register (gst_meta_ximage_api_get_type (), "GstMetaXImageSrc", + sizeof (GstMetaXImage), (GstMetaInitFunction) NULL, +- (GstMetaFreeFunction) NULL, gst_meta_ximage_transform); ++ (GstMetaFreeFunction) NULL, (GstMetaTransformFunction) NULL); + g_once_init_leave (&meta_ximage_info, meta); + } + return meta_ximage_info; diff --git a/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bbappend b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bbappend deleted file mode 100644 index 76d926783..000000000 --- a/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bbappend +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (C) 2015 Digi International - -FILESEXTRAPATHS_prepend := "${THISDIR}/${BP}:" - -SRC_URI += "file://aacparse-Fix-aacparse-error-tolerance-issue.patch" - -PACKAGECONFIG_append = " vpx" diff --git a/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.8.3.bbappend b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.8.3.bbappend new file mode 100644 index 000000000..343b50ad5 --- /dev/null +++ b/meta-digi-dey/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.8.3.bbappend @@ -0,0 +1,11 @@ +# Copyright 2015-2017, Digi International Inc. + +FILESEXTRAPATHS_prepend := "${THISDIR}/${BP}:" + +SRC_URI_append = " \ + file://0001-Need-to-check-if-pa-stream-is-still-valid.patch \ + file://0002-Fix-aacpase-error-tolerance-issue.patch \ + file://0003-ximageutil-shouldn-t-implement-transform-if-don-t-su.patch \ +" + +PACKAGECONFIG_append = " vpx"