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
This commit is contained in:
Jan Schmidt 2018-05-07 01:32:14 +10:00
parent 9ad634029a
commit 273d0a05e8

View 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 * Get the #GstClockTime timestamp of the event. This is the time when the event
* was created. * was created.
*/ */
/* FIXME 2.0: Remove the GstEvent::timestamp field */
#define GST_EVENT_TIMESTAMP(event) (GST_EVENT_CAST(event)->timestamp) #define GST_EVENT_TIMESTAMP(event) (GST_EVENT_CAST(event)->timestamp)
/** /**
@ -406,6 +407,7 @@ struct _GstEvent {
/*< public >*/ /* with COW */ /*< public >*/ /* with COW */
GstEventType type; GstEventType type;
/* FIXME 2.0: Remove the GstEvent::timestamp field */
guint64 timestamp; guint64 timestamp;
guint32 seqnum; guint32 seqnum;
}; };