diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-07-18 17:30:30 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-07-18 17:49:32 +0200 |
commit | 06addca0125028a5949e019acacb57775aa0f164 (patch) | |
tree | 0b7f34cfc50796a09dc968d6ac93dac52620aad6 /gst/gstpad.h | |
parent | 586b1ca8c659e4f39bfe75706ba9ce40dbae09d6 (diff) |
pad: add PROXY_SCHEDULING flag
Add a flag that makes the default query handler forward the scheduling query.
Diffstat (limited to 'gst/gstpad.h')
-rw-r--r-- | gst/gstpad.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/gstpad.h b/gst/gstpad.h index 915d7c257..9bf812a41 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -601,6 +601,9 @@ typedef gboolean (*GstPadStickyEventsForeachFunction) (GstPad *pad, GstEvent ** * @GST_PAD_FLAG_PROXY_ALLOCATION: the default query handler will forward * allocation queries to the internally linked pads * instead of discarding them. + * @GST_PAD_FLAG_PROXY_SCHEDULING: the default query handler will forward + * scheduling queries to the internally linked pads + * instead of discarding them. * @GST_PAD_FLAG_LAST: offset to define more flags * * Pad state flags @@ -616,6 +619,7 @@ typedef enum { GST_PAD_FLAG_FIXED_CAPS = (GST_OBJECT_FLAG_LAST << 7), GST_PAD_FLAG_PROXY_CAPS = (GST_OBJECT_FLAG_LAST << 8), GST_PAD_FLAG_PROXY_ALLOCATION = (GST_OBJECT_FLAG_LAST << 9), + GST_PAD_FLAG_PROXY_SCHEDULING = (GST_OBJECT_FLAG_LAST << 10), /* padding */ GST_PAD_FLAG_LAST = (GST_OBJECT_FLAG_LAST << 16) } GstPadFlags; @@ -765,6 +769,10 @@ struct _GstPadClass { #define GST_PAD_SET_PROXY_ALLOCATION(pad) (GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_PROXY_ALLOCATION)) #define GST_PAD_UNSET_PROXY_ALLOCATION(pad) (GST_OBJECT_FLAG_UNSET (pad, GST_PAD_FLAG_PROXY_ALLOCATION)) +#define GST_PAD_IS_PROXY_SCHEDULING(pad) (GST_OBJECT_FLAG_IS_SET (pad, GST_PAD_FLAG_PROXY_SCHEDULING)) +#define GST_PAD_SET_PROXY_SCHEDULING(pad) (GST_OBJECT_FLAG_SET (pad, GST_PAD_FLAG_PROXY_SCHEDULING)) +#define GST_PAD_UNSET_PROXY_SCHEDULING(pad) (GST_OBJECT_FLAG_UNSET (pad, GST_PAD_FLAG_PROXY_SCHEDULING)) + /** * GST_PAD_GET_STREAM_LOCK: * @pad: a #GstPad |