mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 15:27:07 +00:00
mpegts: Add program_number to GstMpegTsPMT
This commit is contained in:
parent
dd449c38e6
commit
fccfc76805
2 changed files with 4 additions and 1 deletions
|
@ -547,7 +547,9 @@ _parse_pmt (GstMpegTsSection * section)
|
|||
|
||||
GST_DEBUG ("Parsing %d Program Map Table", section->subtable_extension);
|
||||
|
||||
/* Skip already parsed data */
|
||||
/* Assign program number from subtable extenstion,
|
||||
and skip already parsed data */
|
||||
pmt->program_number = section->subtable_extension;
|
||||
data += 8;
|
||||
|
||||
pmt->pcr_pid = GST_READ_UINT16_BE (data) & 0x1FFF;
|
||||
|
|
|
@ -339,6 +339,7 @@ struct _GstMpegTsPMTStream
|
|||
struct _GstMpegTsPMT
|
||||
{
|
||||
guint16 pcr_pid;
|
||||
guint16 program_number;
|
||||
|
||||
GPtrArray *descriptors;
|
||||
GPtrArray *streams;
|
||||
|
|
Loading…
Reference in a new issue