diff options
author | Zaheer Merali <zaheerabbas@merali.org> | 2009-07-15 18:27:39 +0100 |
---|---|---|
committer | Zaheer Merali <zaheerabbas@merali.org> | 2009-07-15 18:27:39 +0100 |
commit | 1a6cd35c5044f41cfe2293d5aa5c85e035a9860b (patch) | |
tree | 476b8b8f42eeb2ed56365374750e706af4605aa1 /gst | |
parent | aace8e130fa8dde86e18eceedab130f017c67f8e (diff) | |
download | gst-plugins-bad-1a6cd35c5044f41cfe2293d5aa5c85e035a9860b.tar.gz gst-plugins-bad-1a6cd35c5044f41cfe2293d5aa5c85e035a9860b.tar.bz2 gst-plugins-bad-1a6cd35c5044f41cfe2293d5aa5c85e035a9860b.zip |
mpegtsparse: add component tag to structure for component message
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegdemux/mpegtspacketizer.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/mpegdemux/mpegtspacketizer.c b/gst/mpegdemux/mpegtspacketizer.c index 5ed71f0c..d22b0051 100644 --- a/gst/mpegdemux/mpegtspacketizer.c +++ b/gst/mpegdemux/mpegtspacketizer.c @@ -1787,7 +1787,8 @@ mpegts_packetizer_parse_eit (MpegTSPacketizer * packetizer, break; } component = gst_structure_new ("audio", "type", G_TYPE_STRING, - comptype, NULL); + comptype, "tag", G_TYPE_INT, + DESC_DVB_COMPONENT_tag (comp_descriptor), NULL); break; case 0x03: /* subtitles/teletext/vbi */ comptype = "reserved"; @@ -1827,7 +1828,8 @@ mpegts_packetizer_parse_eit (MpegTSPacketizer * packetizer, break; } component = gst_structure_new ("teletext", "type", G_TYPE_STRING, - comptype, NULL); + comptype, "tag", G_TYPE_INT, + DESC_DVB_COMPONENT_tag (comp_descriptor), NULL); break; } if (component) { |