diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-12-06 18:09:13 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-12-06 18:18:26 +0100 |
commit | 629a8d03ce6aa49f6bb98c2cfc66896f27da09ea (patch) | |
tree | 9a03bea668de04ab9b6b50cbfdcee6d072f1711a /gst/gstpad.h | |
parent | 8e6b5f79bd0182e8582b8e18a97b095bd3c74b55 (diff) |
pad: put new event probe type next to other event types
Diffstat (limited to 'gst/gstpad.h')
-rw-r--r-- | gst/gstpad.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/gst/gstpad.h b/gst/gstpad.h index 31ea578e5..45b6a3789 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -444,6 +444,10 @@ typedef gboolean (*GstPadForwardFunction) (GstPad *pad, gpointer user_data); * @GST_PAD_PROBE_TYPE_BUFFER_LIST: probe buffer lists * @GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM: probe downstream events * @GST_PAD_PROBE_TYPE_EVENT_UPSTREAM: probe upstream events + * @GST_PAD_PROBE_TYPE_EVENT_FLUSH: probe flush events. This probe has to be + * explicitly enabled and is not included in the + * @@GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM or + * @@GST_PAD_PROBE_TYPE_EVENT_UPSTREAM probe types. * @GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM: probe downstream queries * @GST_PAD_PROBE_TYPE_QUERY_UPSTREAM: probe upstream queries * @GST_PAD_PROBE_TYPE_PUSH: probe push @@ -464,15 +468,12 @@ typedef enum GST_PAD_PROBE_TYPE_BUFFER_LIST = (1 << 5), GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM = (1 << 6), GST_PAD_PROBE_TYPE_EVENT_UPSTREAM = (1 << 7), - GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM = (1 << 8), - GST_PAD_PROBE_TYPE_QUERY_UPSTREAM = (1 << 9), + GST_PAD_PROBE_TYPE_EVENT_FLUSH = (1 << 8), + GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM = (1 << 9), + GST_PAD_PROBE_TYPE_QUERY_UPSTREAM = (1 << 10), /* flags to select scheduling mode */ GST_PAD_PROBE_TYPE_PUSH = (1 << 12), - GST_PAD_PROBE_TYPE_PULL = (1 << 13), - /* flag for event probes that want to handle flush events. - The probe can drop flush event which will mean that the rest - of the pipeline will not get flushed */ - GST_PAD_PROBE_TYPE_HANDLE_FLUSH = (1 << 14) + GST_PAD_PROBE_TYPE_PULL = (1 << 13) } GstPadProbeType; #define GST_PAD_PROBE_TYPE_BLOCKING (GST_PAD_PROBE_TYPE_IDLE | GST_PAD_PROBE_TYPE_BLOCK) |