morty migration: gstreamer1.0-plugins-good: update package
Also apply patches from meta-fsl-bsp-release (krogoth_4.1.15-2.0.1) https://jira.digi.com/browse/DEL-3459 Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
parent
047f502cfd
commit
2ab3c8792e
|
|
@ -0,0 +1,36 @@
|
||||||
|
From: Jian <Jian.Li@freescale.com>
|
||||||
|
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 <Jian.Li@freescale.com>
|
||||||
|
Signed-off-by: Lyon Wang <lyon.wang@freescale.com>
|
||||||
|
---
|
||||||
|
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;
|
||||||
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
From 5f97dff4bb844ae17870d9dc62aefefd6dba077b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lyon Wang <lyon.wang@freescale.com>
|
From: Lyon Wang <lyon.wang@freescale.com>
|
||||||
Date: Fri, 6 Feb 2015 11:27:47 +0800
|
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.
|
There is no need to check channel configure in adts header.
|
||||||
The channel could be output of decoder.
|
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
|
https://bugzilla.gnome.org/show_bug.cgi?id=743332
|
||||||
|
|
||||||
UpStream Status: Pending
|
UpStream Status: Pending
|
||||||
|
|
||||||
Signed-off-by: Lyon Wang <lyon.wang@freescale.com>
|
Signed-off-by: Lyon Wang <lyon.wang@freescale.com>
|
||||||
---
|
---
|
||||||
gst/audioparsers/gstaacparse.c | 2 +-
|
gst/audioparsers/gstaacparse.c | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/gst/audioparsers/gstaacparse.c b/gst/audioparsers/gstaacparse.c
|
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
|
--- a/gst/audioparsers/gstaacparse.c
|
||||||
+++ b/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,
|
gst_aac_parse_parse_adts_header (aacparse, data, &rate, &channels,
|
||||||
&aacparse->object_type, &aacparse->mpegversion);
|
&aacparse->object_type, &aacparse->mpegversion);
|
||||||
|
|
||||||
|
|
@ -29,6 +28,3 @@ index 2a37c37..550e304 100644
|
||||||
GST_DEBUG_OBJECT (aacparse, "impossible ADTS configuration");
|
GST_DEBUG_OBJECT (aacparse, "impossible ADTS configuration");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
--
|
|
||||||
1.7.9.5
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,44 @@
|
||||||
|
From: Song Bing <bing.song@nxp.com>
|
||||||
|
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;
|
||||||
|
|
@ -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"
|
|
||||||
|
|
@ -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"
|
||||||
Loading…
Reference in New Issue