| GStreamer Bad Plugins 1.0 Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
struct GstAggregatorPad; struct GstAggregatorPadClass; GstBuffer * gst_aggregator_pad_steal_buffer (GstAggregatorPad *pad); GstBuffer * gst_aggregator_pad_get_buffer (GstAggregatorPad *pad); gboolean gst_aggregator_pad_drop_buffer (GstAggregatorPad *pad); gboolean gst_aggregator_pad_is_eos (GstAggregatorPad *pad);
struct GstAggregatorPad {
GstPad parent;
/* Protected by the OBJECT_LOCK */
GstSegment segment;
/* Segment to use in the clip function, before the queue */
GstSegment clip_segment;
/* < Private > */
GstAggregatorPadPrivate * priv;
gpointer _gst_reserved[GST_PADDING];
};
The implementation the GstPad to use with GstAggregator
| last segment received. | |
gpointer |
struct GstAggregatorPadClass {
GstPadClass parent_class;
GstFlowReturn (*flush) (GstAggregatorPad * aggpad, GstAggregator * aggregator);
};
GstBuffer * gst_aggregator_pad_steal_buffer (GstAggregatorPad *pad);
Steal the ref to the buffer currently queued in pad.
|
the pad to get buffer from |
Returns : |
The buffer in pad or NULL if no buffer was
queued. You should unref the buffer after usage. [transfer full]
|
GstBuffer * gst_aggregator_pad_get_buffer (GstAggregatorPad *pad);
|
the pad to get buffer from |
Returns : |
A reference to the buffer in pad or
NULL if no buffer was queued. You should unref the buffer after
usage. [transfer full]
|
gboolean gst_aggregator_pad_drop_buffer (GstAggregatorPad *pad);
Drop the buffer currently queued in pad.
|
the pad where to drop any pending buffer |
Returns : |
TRUE if there was a buffer queued in pad, or FALSE if not. |