mpegtsparse: send TDT tables messages in a serialized event downstream
authorAndoni Morales Alastruey <amorales@flumotion.com>
Wed, 3 Nov 2010 15:16:24 +0000 (16:16 +0100)
committerZaheer Abbas Merali <zaheerabbas@merali.org>
Wed, 3 Nov 2010 04:48:00 +0000 (04:48 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=633917

gst/mpegdemux/mpegtsparse.c

index 579b75537ae2b5fc32c9e03d6a95e233ceaa9ef2..a50e90fb64c519a255e3a204d8bf354e624765ab 100644 (file)
@@ -1123,6 +1123,10 @@ mpegts_parse_apply_tdt (MpegTSParse * parse,
   gst_element_post_message (GST_ELEMENT_CAST (parse),
       gst_message_new_element (GST_OBJECT (parse),
           gst_structure_copy (tdt_info)));
+
+  gst_element_send_event (GST_ELEMENT_CAST (parse),
+      gst_event_new_custom (GST_EVENT_CUSTOM_DOWNSTREAM,
+          gst_structure_copy (tdt_info)));
 }
 
 static gboolean