diff --git a/gst-libs/gst/mpegts/gst-dvb-section.c b/gst-libs/gst/mpegts/gst-dvb-section.c index f5940adcfe..c72f8ec827 100644 --- a/gst-libs/gst/mpegts/gst-dvb-section.c +++ b/gst-libs/gst/mpegts/gst-dvb-section.c @@ -832,6 +832,8 @@ _parse_sdt (GstMpegTsSection * section) data = section->data; end = data + section->section_length; + sdt->transport_stream_id = section->subtable_extension; + /* Skip common fields */ data += 8; diff --git a/gst-libs/gst/mpegts/gst-dvb-section.h b/gst-libs/gst/mpegts/gst-dvb-section.h index b2c6ea8fdd..ed3b91c92f 100644 --- a/gst-libs/gst/mpegts/gst-dvb-section.h +++ b/gst-libs/gst/mpegts/gst-dvb-section.h @@ -233,6 +233,9 @@ struct _GstMpegTsSDTService /** * GstMpegTsSDT: + * @original_network_id: Network ID of the originating delivery system + * @actual_ts: True if the table describes this transport stream + * @transport_stream_id: ID of this transport stream * @services: (element-type GstMpegTsSDTService): List of services * * Service Description Table (EN 300 468) @@ -242,6 +245,7 @@ struct _GstMpegTsSDT { guint16 original_network_id; gboolean actual_ts; + guint16 transport_stream_id; GPtrArray *services; };