projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20410a7
)
example: ts-parser: add ca iddentifier descriptor
author
Stefan Ringel
<linuxtv@stefanringel.de>
Wed, 28 May 2014 14:47:28 +0000
(16:47 +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
69a18b5
..
00435c6
100644
(file)
--- a/
tests/examples/mpegts/ts-parser.c
+++ b/
tests/examples/mpegts/ts-parser.c
@@
-613,6
+613,20
@@
dump_descriptors (GPtrArray * descriptors, guint spacing)
}
break;
}
+ case GST_MTS_DESC_DVB_CA_IDENTIFIER:
+ {
+ GArray *list;
+ guint j;
+ guint16 ca_id;
+ if (gst_mpegts_descriptor_parse_dvb_ca_identifier (desc, &list)) {
+ for (j = 0; j < list->len; j++) {
+ ca_id = g_array_index (list, guint16, j);
+ g_printf ("%*s CA Identifier : 0x%04x\n", spacing, "", ca_id);
+ }
+ g_array_unref (list);
+ }
+ break;
+ }
case GST_MTS_DESC_DVB_CONTENT:
dump_content (desc, spacing + 2);
break;