mpegts: Fix Logical Channel Descriptor parsing
No wonder we were getting garbage ...
This commit is contained in:
parent
2bbf4ec96c
commit
7852430934
@ -968,7 +968,7 @@ gst_mpegts_descriptor_parse_logical_channel (const GstMpegTsDescriptor *
|
||||
/* This descriptor loop can be empty, no size check required */
|
||||
__common_desc_checks (descriptor, GST_MTS_DESC_DTG_LOGICAL_CHANNEL, 0, FALSE);
|
||||
|
||||
data = (guint8 *) descriptor->data;
|
||||
data = (guint8 *) descriptor->data + 2;
|
||||
res->nb_channels = descriptor->length / 4;
|
||||
|
||||
for (i = 0; i < res->nb_channels; i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user