mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
example: ts-parser: add stream identifier descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730854
This commit is contained in:
parent
c35dc33b7f
commit
20410a70f5
1 changed files with 8 additions and 0 deletions
|
@ -605,6 +605,14 @@ dump_descriptors (GPtrArray * descriptors, guint spacing)
|
||||||
case GST_MTS_DESC_DVB_COMPONENT:
|
case GST_MTS_DESC_DVB_COMPONENT:
|
||||||
dump_component (desc, spacing + 2);
|
dump_component (desc, spacing + 2);
|
||||||
break;
|
break;
|
||||||
|
case GST_MTS_DESC_DVB_STREAM_IDENTIFIER:
|
||||||
|
{
|
||||||
|
guint8 tag;
|
||||||
|
if (gst_mpegts_descriptor_parse_dvb_stream_identifier (desc, &tag)) {
|
||||||
|
g_printf ("%*s Component Tag : 0x%02x\n", spacing, "", tag);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
case GST_MTS_DESC_DVB_CONTENT:
|
case GST_MTS_DESC_DVB_CONTENT:
|
||||||
dump_content (desc, spacing + 2);
|
dump_content (desc, spacing + 2);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue