[oe-commits] Brijesh Singh : gstreamer-ti: remove mp3 cap from gst_ti auddec1 element.

git version control git at git.openembedded.org
Thu Sep 17 08:43:42 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 33e67dff775d3edcc3a4521106351792c1519093
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=33e67dff775d3edcc3a4521106351792c1519093

Author: Brijesh Singh <bksingh at ti.com>
Date:   Wed Sep 16 08:29:03 2009 -0500

gstreamer-ti: remove mp3 cap from gst_ti auddec1 element.

* Default TSPA codec does not have mp3 decoder and this patch removes the mp3 decoder caps from auddec1 element. This will help playbin on auto-detecting mp3 decoder when dsp decoder is not available.

---

 ...ti-remove-mp3-decode-support-from-auddec1.patch |   26 ++++++++++++++++++++
 recipes/ti/gstreamer-ti_svn.bb                     |    3 +-
 2 files changed, 28 insertions(+), 1 deletions(-)

diff --git a/recipes/ti/gstreamer-ti/gstreamer-ti-remove-mp3-decode-support-from-auddec1.patch b/recipes/ti/gstreamer-ti/gstreamer-ti-remove-mp3-decode-support-from-auddec1.patch
new file mode 100644
index 0000000..0fb7861
--- /dev/null
+++ b/recipes/ti/gstreamer-ti/gstreamer-ti-remove-mp3-decode-support-from-auddec1.patch
@@ -0,0 +1,26 @@
+This patch removes mp3 decoder cap from auddec elements. mp3 decoder is not part of tspa combo. If you are adding mp3 decoder support in your combo then do not apply this patch.
+
+diff -uNr ticodecplugin/src/gsttiauddec1.c ticodecplugin.new/src/gsttiauddec1.c
+--- ticodecplugin/src/gsttiauddec1.c	2009-09-05 00:04:51.000000000 -0500
++++ ticodecplugin.new/src/gsttiauddec1.c	2009-09-15 03:28:28.000000000 -0500
+@@ -85,7 +85,7 @@
+     GST_PAD_ALWAYS,
+     GST_STATIC_CAPS
+     ("audio/mpeg, "
+-        "mpegversion = (int) { 1, 4 }")
++        "mpegversion = (int) { 4 }")
+ );
+ 
+ /* Define source (output) pad capabilities.  Currently, RAW is supported. */
+diff -uNr ticodecplugin/src/gsttiauddec.c ticodecplugin.new/src/gsttiauddec.c
+--- ticodecplugin/src/gsttiauddec.c	2009-09-05 00:04:51.000000000 -0500
++++ ticodecplugin.new/src/gsttiauddec.c	2009-09-16 07:51:24.000000000 -0500
+@@ -85,7 +85,7 @@
+     GST_PAD_ALWAYS,
+     GST_STATIC_CAPS
+     ("audio/mpeg, "
+-        "mpegversion = (int) { 1, 4 }")
++        "mpegversion = (int) { 4 }")
+ );
+ 
+ /* Constants */
diff --git a/recipes/ti/gstreamer-ti_svn.bb b/recipes/ti/gstreamer-ti_svn.bb
index e1782ba..537a2f9 100644
--- a/recipes/ti/gstreamer-ti_svn.bb
+++ b/recipes/ti/gstreamer-ti_svn.bb
@@ -12,10 +12,11 @@ SRC_URI = "svn://gforge.ti.com/svn/gstreamer_ti/trunk;module=gstreamer_ti;proto=
            file://gstreamer-ti-tracker-824.patch;patch=1 \
            file://gstreamer-ti-tracker-462.patch;patch=1 \
            file://gstreamer-ti-add-omapfb.patch;patch=1 \
+           file://gstreamer-ti-remove-mp3-decode-support-from-auddec1.patch;patch=1 \
 "
 
 # Again, no '.' in PWD allowed :(
-PR = "r35"
+PR = "r36"
 PV = "svnr${SRCREV}"
 
 S = "${WORKDIR}/gstreamer_ti/ti_build/ticodecplugin"





More information about the Openembedded-commits mailing list