diff --git a/gst-libs/gst/mpegts/gst-atsc-section.c b/gst-libs/gst/mpegts/gst-atsc-section.c index 95de50f4f3..87bc4bfb76 100644 --- a/gst-libs/gst/mpegts/gst-atsc-section.c +++ b/gst-libs/gst/mpegts/gst-atsc-section.c @@ -776,6 +776,8 @@ _parse_ett (GstMpegTsSection * section) data = section->data; end = data + section->section_length; + ett->ett_table_id_extension = section->subtable_extension; + /* Skip already parsed data */ data += 8; diff --git a/gst-libs/gst/mpegts/gst-atsc-section.h b/gst-libs/gst/mpegts/gst-atsc-section.h index 8d9db071ce..22fb4cb770 100644 --- a/gst-libs/gst/mpegts/gst-atsc-section.h +++ b/gst-libs/gst/mpegts/gst-atsc-section.h @@ -249,6 +249,7 @@ typedef struct _GstMpegTsAtscETT GstMpegTsAtscETT; */ struct _GstMpegTsAtscETT { + guint16 ett_table_id_extension; guint16 protocol_version; guint32 etm_id; diff --git a/tests/examples/mpegts/ts-parser.c b/tests/examples/mpegts/ts-parser.c index 173bcb4bac..bf8c98cf6c 100644 --- a/tests/examples/mpegts/ts-parser.c +++ b/tests/examples/mpegts/ts-parser.c @@ -666,7 +666,7 @@ dump_ett (GstMpegTsSection * section) 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 (" etm_id : 0x%04x\n", ett->etm_id);