projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c35dc33
)
example: ts-parser: add stream identifier descriptor
author
Stefan Ringel
<linuxtv@stefanringel.de>
Wed, 28 May 2014 10:23:50 +0000
(12:23 +0200)
committer
Edward Hervey
<bilboed@bilboed.com>
Thu, 29 May 2014 12:29:15 +0000
(14:29 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=730854
tests/examples/mpegts/ts-parser.c
patch
|
blob
|
history
diff --git
a/tests/examples/mpegts/ts-parser.c
b/tests/examples/mpegts/ts-parser.c
index
cc57b27
..
69a18b5
100644
(file)
--- 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;