mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
gst1-plugins-bad: bump version
Bugfix release. Patch is now upstream. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
14ee08f3e3
commit
8746b3d072
@ -1,39 +0,0 @@
|
|||||||
From 1ab90f259fee4fa9a7c10dac0a1e85799a15881b Mon Sep 17 00:00:00 2001
|
|
||||||
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <slomo@circular-chaos.org>
|
|
||||||
Date: Wed, 25 Sep 2013 20:25:03 +0200
|
|
||||||
Subject: [PATCH] bluez: Fix compilation on big endian systems
|
|
||||||
|
|
||||||
---
|
|
||||||
sys/bluez/gstavdtputil.c | 6 +++---
|
|
||||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/sys/bluez/gstavdtputil.c b/sys/bluez/gstavdtputil.c
|
|
||||||
index dea803a..ed5c276 100644
|
|
||||||
--- a/sys/bluez/gstavdtputil.c
|
|
||||||
+++ b/sys/bluez/gstavdtputil.c
|
|
||||||
@@ -611,11 +611,11 @@ gst_avdtp_util_parse_aac_raw (void *config)
|
|
||||||
GValue value = G_VALUE_INIT;
|
|
||||||
GValue value_str = G_VALUE_INIT;
|
|
||||||
GValue list = G_VALUE_INIT;
|
|
||||||
+ a2dp_aac_t aac_local = { 0 };
|
|
||||||
+ a2dp_aac_t *aac = &aac_local;
|
|
||||||
|
|
||||||
#if G_BYTE_ORDER == G_LITTLE_ENDIAN
|
|
||||||
uint8_t *raw = (uint8_t *) config;
|
|
||||||
- a2dp_aac_t aac_local = { 0 };
|
|
||||||
- a2dp_aac_t *aac = &aac_local;
|
|
||||||
aac->object_type = raw[0];
|
|
||||||
aac->frequency = (raw[1] << 4) | ((raw[2] & 0xFF) >> 4);
|
|
||||||
aac->channels = (raw[2] >> 2) & 0x3;
|
|
||||||
@@ -624,7 +624,7 @@ gst_avdtp_util_parse_aac_raw (void *config)
|
|
||||||
aac->bitrate = (raw[4] << 16) | (raw[3] << 8) | raw[4];
|
|
||||||
aac->bitrate &= ~0x800000;
|
|
||||||
#elif G_BYTE_ORDER == G_BIG_ENDIAN
|
|
||||||
- *aac = (a2dp_aac_t *) config;
|
|
||||||
+ *aac = *((a2dp_aac_t *) config);
|
|
||||||
#else
|
|
||||||
#error "Unknown byte order"
|
|
||||||
#endif
|
|
||||||
--
|
|
||||||
1.7.10.4
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
|||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
GST1_PLUGINS_BAD_VERSION = 1.2.0
|
GST1_PLUGINS_BAD_VERSION = 1.2.1
|
||||||
GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
|
GST1_PLUGINS_BAD_SOURCE = gst-plugins-bad-$(GST1_PLUGINS_BAD_VERSION).tar.xz
|
||||||
GST1_PLUGINS_BAD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-bad
|
GST1_PLUGINS_BAD_SITE = http://gstreamer.freedesktop.org/src/gst-plugins-bad
|
||||||
GST1_PLUGINS_BAD_LICENSE_FILES = COPYING COPYING.LIB
|
GST1_PLUGINS_BAD_LICENSE_FILES = COPYING COPYING.LIB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user