mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
mpegts: atsc: add missing field to ETT table
Set the subtable_extension as ett_table_id_extension for ETT tables as it is used by it https://bugzilla.gnome.org/show_bug.cgi?id=730435
This commit is contained in:
parent
1cab60b713
commit
fa1eb09520
3 changed files with 4 additions and 1 deletions
|
@ -776,6 +776,8 @@ _parse_ett (GstMpegTsSection * section)
|
||||||
data = section->data;
|
data = section->data;
|
||||||
end = data + section->section_length;
|
end = data + section->section_length;
|
||||||
|
|
||||||
|
ett->ett_table_id_extension = section->subtable_extension;
|
||||||
|
|
||||||
/* Skip already parsed data */
|
/* Skip already parsed data */
|
||||||
data += 8;
|
data += 8;
|
||||||
|
|
||||||
|
|
|
@ -249,6 +249,7 @@ typedef struct _GstMpegTsAtscETT GstMpegTsAtscETT;
|
||||||
*/
|
*/
|
||||||
struct _GstMpegTsAtscETT
|
struct _GstMpegTsAtscETT
|
||||||
{
|
{
|
||||||
|
guint16 ett_table_id_extension;
|
||||||
guint16 protocol_version;
|
guint16 protocol_version;
|
||||||
guint32 etm_id;
|
guint32 etm_id;
|
||||||
|
|
||||||
|
|
|
@ -666,7 +666,7 @@ dump_ett (GstMpegTsSection * section)
|
||||||
|
|
||||||
g_assert (ett);
|
g_assert (ett);
|
||||||
|
|
||||||
g_printf (" service_id : 0x%04x\n", section->subtable_extension);
|
g_printf (" ett_table_id_ext : 0x%04x\n", ett->ett_table_id_extension);
|
||||||
g_printf (" protocol_version : 0x%04x\n", ett->protocol_version);
|
g_printf (" protocol_version : 0x%04x\n", ett->protocol_version);
|
||||||
g_printf (" etm_id : 0x%04x\n", ett->etm_id);
|
g_printf (" etm_id : 0x%04x\n", ett->etm_id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue