From: Yuqing Zhu <b54851@freescale.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [poky][PATCH 2/3] gstreamer1.0-plugins-good: Add patch support aacparse
Date: Thu, 23 Jul 2015 21:29:51 +0800 [thread overview]
Message-ID: <1437658192-8322-3-git-send-email-b54851@freescale.com> (raw)
In-Reply-To: <1437658192-8322-1-git-send-email-b54851@freescale.com>
There is no need to check channel configure in adts header.
The channel could be output of decoder.
No need to return fatal error here.
Signed-off-by: Yuqing Zhu <b54851@freescale.com>
---
...cparse-Fix-aacparse-error-tolerance-issue.patch | 34 ++++++++++++++++++++++
.../gstreamer/gstreamer1.0-plugins-good_1.4.5.bb | 1 +
2 files changed, 35 insertions(+)
create mode 100644 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/aacparse-Fix-aacparse-error-tolerance-issue.patch
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/aacparse-Fix-aacparse-error-tolerance-issue.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/aacparse-Fix-aacparse-error-tolerance-issue.patch
new file mode 100644
index 0000000..1ce4b66
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good/aacparse-Fix-aacparse-error-tolerance-issue.patch
@@ -0,0 +1,34 @@
+From 5f97dff4bb844ae17870d9dc62aefefd6dba077b Mon Sep 17 00:00:00 2001
+From: Lyon Wang <lyon.wang@freescale.com>
+Date: Fri, 6 Feb 2015 11:27:47 +0800
+Subject: [PATCH] [aacparse] Fix aacpase error tolerance issue
+
+There is no need to check channel configure in adts header.
+The channel could be output of decoder.
+No need to return fatal error here.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=743332
+
+UpStream Status: Pending
+
+Signed-off-by: Lyon Wang <lyon.wang@freescale.com>
+---
+ 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
+--- a/gst/audioparsers/gstaacparse.c
++++ b/gst/audioparsers/gstaacparse.c
+@@ -831,7 +831,7 @@ gst_aac_parse_detect_stream (GstAacParse * aacparse,
+ gst_aac_parse_parse_adts_header (aacparse, data, &rate, &channels,
+ &aacparse->object_type, &aacparse->mpegversion);
+
+- if (!channels || !framesize) {
++ if (!framesize) {
+ GST_DEBUG_OBJECT (aacparse, "impossible ADTS configuration");
+ return FALSE;
+ }
+--
+1.7.9.5
+
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bb
index 943ab60..f884cae 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.4.5.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
SRC_URI += "file://0001-gstrtpmp4gpay-set-dafault-value-for-MPEG4-without-co.patch \
file://decrease_asteriskh263_rank.patch \
+ file://aacparse-Fix-aacparse-error-tolerance-issue.patch \
"
SRC_URI[md5sum] = "eaf1a6daf73749bc423feac301d60038"
SRC_URI[sha256sum] = "79b1b5f3f7bcaa8a615202eb5e176121eeb8336960f70687e536ad78dbc7e641"
--
1.9.1
next prev parent reply other threads:[~2015-07-23 5:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-23 13:29 [poky][PATCH 0/3] Upgrade to 3.14.38-6QP_Beta release Yuqing Zhu
2015-07-23 13:29 ` [poky][PATCH 1/3] gstreamer1.0: Add patch for Gstreamer 1.4.5 including baseparse, basesink, inputselector Yuqing Zhu
2015-07-23 12:52 ` Otavio Salvador
2015-07-23 13:29 ` Yuqing Zhu [this message]
2015-07-23 12:59 ` [poky][PATCH 2/3] gstreamer1.0-plugins-good: Add patch support aacparse Otavio Salvador
2015-07-23 13:29 ` [poky][PATCH 3/3] gstreamer1.0-plugins-base: Add patch for Gstreamer 1.4.5 base Yuqing Zhu
2015-07-23 12:55 ` Otavio Salvador
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1437658192-8322-3-git-send-email-b54851@freescale.com \
--to=b54851@freescale.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox