diff options
author | Zaheer Merali <zaheerabbas@merali.org> | 2009-07-17 09:36:15 +0100 |
---|---|---|
committer | Zaheer Merali <zaheerabbas@merali.org> | 2009-07-17 09:40:12 +0100 |
commit | 3d44d9263023bba698f7f2d17775c26ae4873ecd (patch) | |
tree | 2be9117c149ca6e8b16e01941cc1d197f84d4edc /gst | |
parent | ff907b11b676481b775b8da7fd6c0b04fc75aaf7 (diff) | |
download | gst-plugins-bad-3d44d9263023bba698f7f2d17775c26ae4873ecd.tar.gz gst-plugins-bad-3d44d9263023bba698f7f2d17775c26ae4873ecd.tar.bz2 gst-plugins-bad-3d44d9263023bba698f7f2d17775c26ae4873ecd.zip |
mpegtsparse: add component tag to the video component structure in eit
Diffstat (limited to 'gst')
-rw-r--r-- | gst/mpegdemux/mpegtspacketizer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst/mpegdemux/mpegtspacketizer.c b/gst/mpegdemux/mpegtspacketizer.c index d22b0051..da53a926 100644 --- a/gst/mpegdemux/mpegtspacketizer.c +++ b/gst/mpegdemux/mpegtspacketizer.c @@ -1749,7 +1749,9 @@ mpegts_packetizer_parse_eit (MpegTSPacketizer * packetizer, break; } component = gst_structure_new ("video", "high-definition", - G_TYPE_BOOLEAN, TRUE, "frequency", G_TYPE_INT, freq, NULL); + G_TYPE_BOOLEAN, TRUE, "frequency", G_TYPE_INT, freq, + "tag", G_TYPE_INT, DESC_DVB_COMPONENT_tag (comp_descriptor), + NULL); if (widescreen == 0) { gst_structure_set (component, "aspect-ratio", G_TYPE_STRING, "4:3", NULL); |