mpegtsparse: add component tag to the video component structure in eit
authorZaheer Merali <zaheerabbas@merali.org>
Fri, 17 Jul 2009 08:36:15 +0000 (09:36 +0100)
committerZaheer Merali <zaheerabbas@merali.org>
Fri, 17 Jul 2009 08:40:12 +0000 (09:40 +0100)
gst/mpegdemux/mpegtspacketizer.c

index d22b00517b9a9cf886c9e76a0b908c706a7779f5..da53a9264a1c13c865704bf7ae97495506ff82f9 100644 (file)
@@ -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);