diff options
author | Stefan Ringel <linuxtv@stefanringel.de> | 2014-05-28 20:42:05 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-05-29 11:26:21 +0200 |
commit | f6fdd83b7ed47ae92d4857f0ca07edd136cce6dd (patch) | |
tree | 83ac2f84e5c05c7ca76bd8b1aa2b52683fe6778c /gst-libs/gst/mpegts | |
parent | fa1eb09520058d3c42d0420ca88cb6cd70d602a3 (diff) | |
download | gstreamer-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.c | 4 |
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 == |