mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 13:53:19 +00:00
Added a flag to indicate an element is event aware.
Original commit message from CVS: Added a flag to indicate an element is event aware.
This commit is contained in:
parent
40cdffa6a7
commit
8e2530ee1c
1 changed files with 4 additions and 0 deletions
|
@ -109,6 +109,9 @@ typedef enum {
|
||||||
/* if this element is in EOS */
|
/* if this element is in EOS */
|
||||||
GST_ELEMENT_EOS,
|
GST_ELEMENT_EOS,
|
||||||
|
|
||||||
|
/* if this element can handle events */
|
||||||
|
GST_ELEMENT_EVENT_AWARE,
|
||||||
|
|
||||||
/* use some padding for future expansion */
|
/* use some padding for future expansion */
|
||||||
GST_ELEMENT_FLAG_LAST = GST_OBJECT_FLAG_LAST + 12,
|
GST_ELEMENT_FLAG_LAST = GST_OBJECT_FLAG_LAST + 12,
|
||||||
} GstElementFlags;
|
} GstElementFlags;
|
||||||
|
@ -116,6 +119,7 @@ typedef enum {
|
||||||
#define GST_ELEMENT_IS_THREAD_SUGGESTED(obj) (GST_FLAG_IS_SET(obj,GST_ELEMENT_THREAD_SUGGESTED))
|
#define GST_ELEMENT_IS_THREAD_SUGGESTED(obj) (GST_FLAG_IS_SET(obj,GST_ELEMENT_THREAD_SUGGESTED))
|
||||||
#define GST_ELEMENT_IS_COTHREAD_STOPPING(obj) (GST_FLAG_IS_SET(obj,GST_ELEMENT_COTHREAD_STOPPING))
|
#define GST_ELEMENT_IS_COTHREAD_STOPPING(obj) (GST_FLAG_IS_SET(obj,GST_ELEMENT_COTHREAD_STOPPING))
|
||||||
#define GST_ELEMENT_IS_EOS(obj) (GST_FLAG_IS_SET(obj,GST_ELEMENT_EOS))
|
#define GST_ELEMENT_IS_EOS(obj) (GST_FLAG_IS_SET(obj,GST_ELEMENT_EOS))
|
||||||
|
#define GST_ELEMENT_IS_EVENT_AWARE(obj) (GST_FLAG_IS_SET(obj,GST_ELEMENT_EVENT_AWARE))
|
||||||
|
|
||||||
#define GST_ELEMENT_NAME(obj) (GST_OBJECT_NAME(obj))
|
#define GST_ELEMENT_NAME(obj) (GST_OBJECT_NAME(obj))
|
||||||
#define GST_ELEMENT_PARENT(obj) (GST_OBJECT_PARENT(obj))
|
#define GST_ELEMENT_PARENT(obj) (GST_OBJECT_PARENT(obj))
|
||||||
|
|
Loading…
Reference in a new issue