aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ti/gstreamer-ti/0005-remove-mp3-mime-type.patch
blob: 90cdc6e4426761b87d52879e9371cd847ba8c089 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
From 193b6fe6bca945b3c69d600ebcddd7639aff8f25 Mon Sep 17 00:00:00 2001
From: Brijesh Singh <bksingh@ti.com>
Date: Sun, 9 May 2010 05:29:17 -0500
Subject: [PATCH] remove mp3 mime type

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.
---
 src/gsttiauddec.c  |    2 +-
 src/gsttiauddec1.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gsttiauddec.c b/src/gsttiauddec.c
index 2df2464..337cb0f 100644
--- a/src/gsttiauddec.c
+++ b/src/gsttiauddec.c
@@ -85,7 +85,7 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE(
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS
     ("audio/mpeg, "
-        "mpegversion = (int) { 1, 4 }")
+        "mpegversion = (int) { 4 }")
 );
 
 /* Constants */
diff --git a/src/gsttiauddec1.c b/src/gsttiauddec1.c
index 6e56f4b..bf121e3 100644
--- a/src/gsttiauddec1.c
+++ b/src/gsttiauddec1.c
@@ -85,7 +85,7 @@ static GstStaticPadTemplate sink_factory = GST_STATIC_PAD_TEMPLATE(
     GST_PAD_ALWAYS,
     GST_STATIC_CAPS
     ("audio/mpeg, "
-        "mpegversion = (int) { 1, 4 }")
+        "mpegversion = (int) { 4 }")
 );
 
 /* Define source (output) pad capabilities.  Currently, RAW is supported. */
-- 
1.5.4.3