mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-07 15:02:40 +00:00
mpegtsparse: parse component tag
This commit is contained in:
parent
c90fccd986
commit
4266fd443a
1 changed files with 7 additions and 1 deletions
|
@ -542,7 +542,13 @@ mpegts_packetizer_parse_pmt (MpegTSPacketizer * packetizer,
|
||||||
gst_structure_set (stream_info, "carousel-id", G_TYPE_UINT,
|
gst_structure_set (stream_info, "carousel-id", G_TYPE_UINT,
|
||||||
carousel_id, NULL);
|
carousel_id, NULL);
|
||||||
}
|
}
|
||||||
|
desc_data = gst_mpeg_descriptor_find (desc, DESC_DVB_STREAM_IDENTIFIER);
|
||||||
|
if (desc_data) {
|
||||||
|
guint8 component_tag;
|
||||||
|
component_tag = DESC_DVB_STREAM_IDENTIFIER_component_tag (desc_data);
|
||||||
|
gst_structure_set (stream_info, "component-tag", G_TYPE_UINT,
|
||||||
|
component_tag, NULL);
|
||||||
|
}
|
||||||
gst_mpeg_descriptor_free (desc);
|
gst_mpeg_descriptor_free (desc);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue