mpegts: bugfix mobile hand over linkage parse missmatch

https://bugzilla.gnome.org/show_bug.cgi?id=730901
This commit is contained in:
Stefan Ringel 2014-05-28 20:42:05 +02:00 committed by Edward Hervey
parent fa1eb09520
commit f6fdd83b7e

View file

@ -572,8 +572,8 @@ gst_mpegts_descriptor_parse_dvb_linkage (const GstMpegTsDescriptor * descriptor,
hand_over = g_slice_new0 (GstMpegTsDVBLinkageMobileHandOver); hand_over = g_slice_new0 (GstMpegTsDVBLinkageMobileHandOver);
res->linkage_data = (gpointer) hand_over; res->linkage_data = (gpointer) hand_over;
hand_over->origin_type = (*data >> 7) & 0x01; hand_over->origin_type = (*data) & 0x01;
hand_over->hand_over_type = *data & 0x0f; hand_over->hand_over_type = (*data >> 4) & 0x0f;
data += 1; data += 1;
if (hand_over->hand_over_type == if (hand_over->hand_over_type ==