summaryrefslogtreecommitdiff
path: root/gst-libs/gst/mpegts
diff options
context:
space:
mode:
authorStefan Ringel <linuxtv@stefanringel.de>2014-05-28 20:42:05 +0200
committerEdward Hervey <bilboed@bilboed.com>2014-05-29 11:26:21 +0200
commitf6fdd83b7ed47ae92d4857f0ca07edd136cce6dd (patch)
tree83ac2f84e5c05c7ca76bd8b1aa2b52683fe6778c /gst-libs/gst/mpegts
parentfa1eb09520058d3c42d0420ca88cb6cd70d602a3 (diff)
downloadgstreamer-plugins-bad-f6fdd83b7ed47ae92d4857f0ca07edd136cce6dd.tar.gz
mpegts: bugfix mobile hand over linkage parse missmatch
https://bugzilla.gnome.org/show_bug.cgi?id=730901
Diffstat (limited to 'gst-libs/gst/mpegts')
-rw-r--r--gst-libs/gst/mpegts/gst-dvb-descriptor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/mpegts/gst-dvb-descriptor.c b/gst-libs/gst/mpegts/gst-dvb-descriptor.c
index 376e8cc6c..47e818e50 100644
--- a/gst-libs/gst/mpegts/gst-dvb-descriptor.c
+++ b/gst-libs/gst/mpegts/gst-dvb-descriptor.c
@@ -572,8 +572,8 @@ gst_mpegts_descriptor_parse_dvb_linkage (const GstMpegTsDescriptor * descriptor,
hand_over = g_slice_new0 (GstMpegTsDVBLinkageMobileHandOver);
res->linkage_data = (gpointer) hand_over;
- hand_over->origin_type = (*data >> 7) & 0x01;
- hand_over->hand_over_type = *data & 0x0f;
+ hand_over->origin_type = (*data) & 0x01;
+ hand_over->hand_over_type = (*data >> 4) & 0x0f;
data += 1;
if (hand_over->hand_over_type ==