set dvbaudiosink caps to support mpeg 4 profile LC and apply relevant patches.
[vuplus_openvuplus] / meta-openvuplus / recipes-multimedia / gstreamer / gst-plugin-dvbmediasink / Set-only-by-hardware-supported-audio-mpeg-4-profile.patch
1 From 7ef6975f50de5430bca938ad51d00f19e51a2be1 Mon Sep 17 00:00:00 2001
2 From: Athanasios Oikonomou <athoik@gmail.com>
3 Date: Thu, 4 Jul 2013 20:12:04 +0300
4 Subject: [PATCH 1/1] Set only by hardware supported audio mpeg 4 profile
5
6 Only mpeg 4 lc profile is supported by the hardware. Other profiles
7 will be decoded by software. Based on betacentauri patches.
8 ---
9  src/gstdvbaudiosink.c |    2 +-
10  1 file changed, 1 insertion(+), 1 deletion(-)
11
12 diff --git a/src/gstdvbaudiosink.c b/src/gstdvbaudiosink.c
13 index 93cb587..2b5fe73 100644
14 --- a/src/gstdvbaudiosink.c
15 +++ b/src/gstdvbaudiosink.c
16 @@ -196,7 +196,7 @@ GST_STATIC_PAD_TEMPLATE (
17                 X_RAW_INT(24,24)
18                 X_RAW_INT(32,24)
19                 X_RAW_INT(32,32)
20 -               "audio/mpeg; "
21 +               "audio/mpeg, profile = (string) lc; "
22                 "audio/x-ac3; "
23                 "audio/x-private1-ac3; "
24                 "audio/x-dts; "
25 -- 
26 1.7.9.5
27