example: ts-parser: add stream identifier descriptor

https://bugzilla.gnome.org/show_bug.cgi?id=730854
This commit is contained in:
Stefan Ringel 2014-05-28 12:23:50 +02:00 committed by Edward Hervey
parent c35dc33b7f
commit 20410a70f5

View file

@ -605,6 +605,14 @@ dump_descriptors (GPtrArray * descriptors, guint spacing)
case GST_MTS_DESC_DVB_COMPONENT:
dump_component (desc, spacing + 2);
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:
dump_content (desc, spacing + 2);
break;