diff options
author | Carlos Rafael Giani <dv@pseudoterminal.org> | 2013-11-16 21:23:57 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-20 14:03:32 +0000 |
commit | c2cbe0f60e6d19ab9a8321be74d636d2c36671a8 (patch) | |
tree | 2bdb40fa526b09e9a9aa7e08f11afb5fd09d82c7 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad | |
parent | 7865ce6d805ba19ea32d2658cae65c9585c84539 (diff) | |
download | poky-c2cbe0f60e6d19ab9a8321be74d636d2c36671a8.tar.gz |
gstreamer1.0: upgrade to 1.2.0
starting with this version, the recipes enable Orc acceleration by
default
(From OE-Core rev: 686ee2f13673d48d8c7666d4fa1806e98b037561)
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/bluez-fix-compilation-on-big-endian-systems.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/bluez-fix-compilation-on-big-endian-systems.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/bluez-fix-compilation-on-big-endian-systems.patch new file mode 100644 index 0000000000..6299a475ab --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/bluez-fix-compilation-on-big-endian-systems.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | commit 1ab90f259fee4fa9a7c10dac0a1e85799a15881b | ||
2 | Author: Sebastian Dröge <slomo@circular-chaos.org> | ||
3 | Date: Wed Sep 25 20:25:03 2013 +0200 | ||
4 | |||
5 | bluez: Fix compilation on big endian systems | ||
6 | |||
7 | Upstream-Status: Backport | ||
8 | |||
9 | diff --git a/sys/bluez/gstavdtputil.c b/sys/bluez/gstavdtputil.c | ||
10 | index dea803a..ed5c276 100644 | ||
11 | --- a/sys/bluez/gstavdtputil.c | ||
12 | +++ b/sys/bluez/gstavdtputil.c | ||
13 | @@ -611,11 +611,11 @@ gst_avdtp_util_parse_aac_raw (void *config) | ||
14 | GValue value = G_VALUE_INIT; | ||
15 | GValue value_str = G_VALUE_INIT; | ||
16 | GValue list = G_VALUE_INIT; | ||
17 | + a2dp_aac_t aac_local = { 0 }; | ||
18 | + a2dp_aac_t *aac = &aac_local; | ||
19 | |||
20 | #if G_BYTE_ORDER == G_LITTLE_ENDIAN | ||
21 | uint8_t *raw = (uint8_t *) config; | ||
22 | - a2dp_aac_t aac_local = { 0 }; | ||
23 | - a2dp_aac_t *aac = &aac_local; | ||
24 | aac->object_type = raw[0]; | ||
25 | aac->frequency = (raw[1] << 4) | ((raw[2] & 0xFF) >> 4); | ||
26 | aac->channels = (raw[2] >> 2) & 0x3; | ||
27 | @@ -624,7 +624,7 @@ gst_avdtp_util_parse_aac_raw (void *config) | ||
28 | aac->bitrate = (raw[4] << 16) | (raw[3] << 8) | raw[4]; | ||
29 | aac->bitrate &= ~0x800000; | ||
30 | #elif G_BYTE_ORDER == G_BIG_ENDIAN | ||
31 | - *aac = (a2dp_aac_t *) config; | ||
32 | + *aac = *((a2dp_aac_t *) config); | ||
33 | #else | ||
34 | #error "Unknown byte order" | ||
35 | #endif | ||