mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
mpegts: Fix Logical Channel Descriptor parsing
No wonder we were getting garbage ...
This commit is contained in:
parent
2bbf4ec96c
commit
7852430934
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue