diff options
author | Stefan Ringel <linuxtv@stefanringel.de> | 2014-05-28 12:23:50 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2014-05-29 14:29:15 +0200 |
commit | 20410a70f5b7811fc38ad3814f6f135bbeea40a3 (patch) | |
tree | 6a88702997fb0c37d2dd6745c3294a1eb36355cf /tests | |
parent | c35dc33b7fec609a450792e46b308f47dc55a173 (diff) | |
download | gstreamer-plugins-bad-20410a70f5b7811fc38ad3814f6f135bbeea40a3.tar.gz |
example: ts-parser: add stream identifier descriptor
https://bugzilla.gnome.org/show_bug.cgi?id=730854
Diffstat (limited to 'tests')
-rw-r--r-- | tests/examples/mpegts/ts-parser.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/examples/mpegts/ts-parser.c b/tests/examples/mpegts/ts-parser.c index cc57b27ce..69a18b5a4 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; |