From 273d0a05e8fbf24347ad29f25b24173343e28ab1 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 7 May 2018 01:32:14 +1000 Subject: [PATCH] gstevent: Add some FIXME: 2.0 about removing the timestamp 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 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/gstevent.h b/gst/gstevent.h index 7a36f9a329..b43f5aef7c 100644 --- a/gst/gstevent.h +++ b/gst/gstevent.h @@ -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; };