From 20410a70f5b7811fc38ad3814f6f135bbeea40a3 Mon Sep 17 00:00:00 2001 From: Stefan Ringel Date: Wed, 28 May 2014 12:23:50 +0200 Subject: [PATCH] example: ts-parser: add stream identifier descriptor https://bugzilla.gnome.org/show_bug.cgi?id=730854 --- tests/examples/mpegts/ts-parser.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tests/examples/mpegts/ts-parser.c b/tests/examples/mpegts/ts-parser.c index cc57b27ce4..69a18b5a4d 100644 --- a/tests/examples/mpegts/ts-parser.c +++ b/tests/examples/mpegts/ts-parser.c @@ -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;