mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
Add GST_EVENT_TYPE_NAME() macro.
Original commit message from CVS: * docs/gst/gstreamer-sections.txt: * gst/gstevent.h: Add GST_EVENT_TYPE_NAME() macro.
This commit is contained in:
parent
727717604e
commit
45a07481db
3 changed files with 15 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* docs/gst/gstreamer-sections.txt:
|
||||
* gst/gstevent.h:
|
||||
Add GST_EVENT_TYPE_NAME() macro.
|
||||
|
||||
2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/gstinfo.c:
|
||||
|
|
|
@ -606,6 +606,7 @@ GstEvent
|
|||
GstEventType
|
||||
GST_EVENT_TRACE_NAME
|
||||
GST_EVENT_TYPE
|
||||
GST_EVENT_TYPE_NAME
|
||||
GST_EVENT_TIMESTAMP
|
||||
GST_EVENT_SRC
|
||||
GST_EVENT_IS_DOWNSTREAM
|
||||
|
|
|
@ -129,6 +129,14 @@ typedef struct _GstEventClass GstEventClass;
|
|||
*/
|
||||
#define GST_EVENT_TYPE(event) (GST_EVENT(event)->type)
|
||||
|
||||
/**
|
||||
* GST_EVENT_TYPE_NAME:
|
||||
* @event: the event to query
|
||||
*
|
||||
* Get a constant string representation of the #GstEventType of the event.
|
||||
*/
|
||||
#define GST_EVENT_TYPE_NAME(event) (gst_event_type_get_name(GST_EVENT_TYPE(event))
|
||||
|
||||
/**
|
||||
* GST_EVENT_TIMESTAMP:
|
||||
* @event: the event to query
|
||||
|
|
Loading…
Reference in a new issue