tagdemux: avoid timestamp field initialisation for tag event
authorKyrylo Polezhaiev <kirushyk@gmail.com>
Tue, 2 Feb 2016 16:19:30 +0000 (18:19 +0200)
committerJan Schmidt <jan@centricular.com>
Sun, 6 May 2018 15:16:27 +0000 (01:16 +1000)
This field is not used and will be removed in 2.0 API.

https://bugzilla.gnome.org/show_bug.cgi?id=761462

gst-libs/gst/tag/gsttagdemux.c

index 8a127c8..3802a56 100644 (file)
@@ -1796,7 +1796,6 @@ gst_tag_demux_send_tag_event (GstTagDemux * demux)
   if (merged) {
     GstEvent *event = gst_event_new_tag (merged);
 
-    GST_EVENT_TIMESTAMP (event) = 0;
     GST_DEBUG_OBJECT (demux, "Sending tag event on src pad");
     gst_pad_push_event (demux->priv->srcpad, event);
   }