mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
mpegts: Add transport_stream_id to GstMpegTsSDT
The transport_stream_id is contained in the subtable extension. Introduce a variable for readability. https://bugzilla.gnome.org/show_bug.cgi?id=724981
This commit is contained in:
parent
3bede97970
commit
3fe1608e83
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue