summaryrefslogtreecommitdiff
path: root/recipes/ti
diff options
context:
space:
mode:
authorBrijesh Singh <bksingh@ti.com>2009-09-16 08:29:03 -0500
committerKoen Kooi <k-kooi@ti.com>2009-09-17 10:02:35 +0200
commit33e67dff775d3edcc3a4521106351792c1519093 (patch)
tree8c23cb07a0f7c9b6b1f4cb111b8064ccc62ad3fb /recipes/ti
parentcac885572c1429e0522935ffa0854bdf1ed15bcc (diff)
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.
Diffstat (limited to 'recipes/ti')
-rw-r--r--recipes/ti/gstreamer-ti/gstreamer-ti-remove-mp3-decode-support-from-auddec1.patch26
-rw-r--r--recipes/ti/gstreamer-ti_svn.bb3
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 0000000000..0fb7861a1c
--- /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 e1782ba477..537a2f9cd4 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"