gstevent: Add some FIXME: 2.0 about removing the timestamp
authorJan Schmidt <jan@centricular.com>
Sun, 6 May 2018 15:32:14 +0000 (01:32 +1000)
committerJan Schmidt <jan@centricular.com>
Sun, 6 May 2018 15:33:16 +0000 (01:33 +1000)
The timestamp field isn't valuable or used well anywhere. We
should remove it for GStreamer 2.0

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

gst/gstevent.h

index 7a36f9a..b43f5ae 100644 (file)
@@ -252,6 +252,7 @@ GST_API GType _gst_event_type;
  * Get the #GstClockTime timestamp of the event. This is the time when the event
  * was created.
  */
+/* FIXME 2.0: Remove the GstEvent::timestamp field */
 #define GST_EVENT_TIMESTAMP(event)      (GST_EVENT_CAST(event)->timestamp)
 
 /**
@@ -406,6 +407,7 @@ struct _GstEvent {
 
   /*< public >*/ /* with COW */
   GstEventType  type;
+  /* FIXME 2.0: Remove the GstEvent::timestamp field */
   guint64       timestamp;
   guint32       seqnum;
 };