diff --git a/gst/gstpad.h b/gst/gstpad.h index bc95b508d3..284a7d462d 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -472,25 +472,16 @@ typedef enum GST_PAD_PROBE_TYPE_PULL = (1 << 13), /* flag combinations */ - GST_PAD_PROBE_TYPE_BLOCKING = (GST_PAD_PROBE_TYPE_IDLE | - GST_PAD_PROBE_TYPE_BLOCK), - GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM = (GST_PAD_PROBE_TYPE_BUFFER | - GST_PAD_PROBE_TYPE_BUFFER_LIST | GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM), - GST_PAD_PROBE_TYPE_DATA_UPSTREAM = (GST_PAD_PROBE_TYPE_EVENT_UPSTREAM), - GST_PAD_PROBE_TYPE_DATA_BOTH = (GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM | - GST_PAD_PROBE_TYPE_DATA_UPSTREAM), - GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM = (GST_PAD_PROBE_TYPE_BLOCK | - GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM), - GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM = (GST_PAD_PROBE_TYPE_BLOCK | - GST_PAD_PROBE_TYPE_DATA_UPSTREAM), - GST_PAD_PROBE_TYPE_EVENT_BOTH = (GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM | - GST_PAD_PROBE_TYPE_EVENT_UPSTREAM), - GST_PAD_PROBE_TYPE_QUERY_BOTH = (GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM | - GST_PAD_PROBE_TYPE_QUERY_UPSTREAM), - GST_PAD_PROBE_TYPE_ALL_BOTH = (GST_PAD_PROBE_TYPE_DATA_BOTH | - GST_PAD_PROBE_TYPE_QUERY_BOTH), - GST_PAD_PROBE_TYPE_SCHEDULING = (GST_PAD_PROBE_TYPE_PUSH | - GST_PAD_PROBE_TYPE_PULL) + GST_PAD_PROBE_TYPE_BLOCKING = GST_PAD_PROBE_TYPE_IDLE | GST_PAD_PROBE_TYPE_BLOCK, + GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM = GST_PAD_PROBE_TYPE_BUFFER | GST_PAD_PROBE_TYPE_BUFFER_LIST | GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM, + GST_PAD_PROBE_TYPE_DATA_UPSTREAM = GST_PAD_PROBE_TYPE_EVENT_UPSTREAM, + GST_PAD_PROBE_TYPE_DATA_BOTH = GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM | GST_PAD_PROBE_TYPE_DATA_UPSTREAM, + GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM = GST_PAD_PROBE_TYPE_BLOCK | GST_PAD_PROBE_TYPE_DATA_DOWNSTREAM, + GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM = GST_PAD_PROBE_TYPE_BLOCK | GST_PAD_PROBE_TYPE_DATA_UPSTREAM, + GST_PAD_PROBE_TYPE_EVENT_BOTH = GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM | GST_PAD_PROBE_TYPE_EVENT_UPSTREAM, + GST_PAD_PROBE_TYPE_QUERY_BOTH = GST_PAD_PROBE_TYPE_QUERY_DOWNSTREAM | GST_PAD_PROBE_TYPE_QUERY_UPSTREAM, + GST_PAD_PROBE_TYPE_ALL_BOTH = GST_PAD_PROBE_TYPE_DATA_BOTH | GST_PAD_PROBE_TYPE_QUERY_BOTH, + GST_PAD_PROBE_TYPE_SCHEDULING = GST_PAD_PROBE_TYPE_PUSH | GST_PAD_PROBE_TYPE_PULL } GstPadProbeType;