| Top |
GstAggregatorPadGstAggregatorPad — GstPad subclass for pads managed by GstAggregator |
| GstBuffer * | gst_aggregator_pad_pop_buffer () |
| GstBuffer * | gst_aggregator_pad_peek_buffer () |
| gboolean | gst_aggregator_pad_drop_buffer () |
| gboolean | gst_aggregator_pad_is_eos () |
| gboolean | gst_aggregator_pad_has_buffer () |
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
.
gboolean
gst_aggregator_pad_has_buffer (GstAggregatorPad *pad);
This checks if a pad has a buffer available that will be returned by
a call to gst_aggregator_pad_peek_buffer() or
gst_aggregator_pad_pop_buffer().
Since: 1.14.1
struct GstAggregatorPad {
/* Protected by the OBJECT_LOCK */
GstSegment segment;
};
The implementation the GstPad to use with GstAggregator
Since: 1.14
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 |
Since: 1.14