mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
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:
parent
9ad634029a
commit
273d0a05e8
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue