| Top |
GstAggregatorPadGstAggregatorPad — GstPad subclass for pads managed by GstAggregator |
Pads managed by a GstAggregor subclass.
This class used to live in gst-plugins-bad and was moved to core.
GstBuffer *
gst_aggregator_pad_pop_buffer (GstAggregatorPad *pad);
Steal the ref to the buffer currently queued in pad
.
GstBuffer *
gst_aggregator_pad_peek_buffer (GstAggregatorPad *pad);
gboolean
gst_aggregator_pad_drop_buffer (GstAggregatorPad *pad);
Drop the buffer currently queued in pad
.
struct GstAggregatorPad;
The implementation the GstPad to use with GstAggregator
struct GstAggregatorPadClass {
GstPadClass parent_class;
GstFlowReturn (*flush) (GstAggregatorPad * aggpad, GstAggregator * aggregator);
gboolean (*skip_buffer) (GstAggregatorPad * aggpad, GstAggregator * aggregator, GstBuffer * buffer);
};
Optional Called when the pad has received a flush stop, this is the place to flush any information specific to the pad, it allows for individual pads to be flushed while others might not be. |
||
Optional
Called before input buffers are queued in the pad, return |