<TITLE>GstAggregatorPad</TITLE>
GstAggregatorPad
GstAggregatorPadClass
-gst_aggregator_pad_steal_buffer
-gst_aggregator_pad_get_buffer
+gst_aggregator_pad_pop_buffer
+gst_aggregator_pad_peek_buffer
gst_aggregator_pad_drop_buffer
gst_aggregator_pad_is_eos
<SUBSECTION Standard>
* * When data is queued on all pads, the aggregate vmethod is called.
*
* * One can peek at the data on any given GstAggregatorPad with the
- * gst_aggregator_pad_get_buffer () method, and take ownership of it
- * with the gst_aggregator_pad_steal_buffer () method. When a buffer
- * has been taken with steal_buffer (), a new buffer can be queued
+ * gst_aggregator_pad_peek_buffer () method, and remove it from the pad
+ * with the gst_aggregator_pad_pop_buffer () method. When a buffer
+ * has been taken with pop_buffer (), a new buffer can be queued
* on that pad.
*
* * If the subclass wishes to push a buffer downstream in its aggregate
}
/**
- * gst_aggregator_pad_steal_buffer:
+ * gst_aggregator_pad_pop_buffer:
* @pad: the pad to get buffer from
*
* Steal the ref to the buffer currently queued in @pad.
* queued. You should unref the buffer after usage.
*/
GstBuffer *
-gst_aggregator_pad_steal_buffer (GstAggregatorPad * pad)
+gst_aggregator_pad_pop_buffer (GstAggregatorPad * pad)
{
GstBuffer *buffer;
{
GstBuffer *buf;
- buf = gst_aggregator_pad_steal_buffer (pad);
+ buf = gst_aggregator_pad_pop_buffer (pad);
if (buf == NULL)
return FALSE;
}
/**
- * gst_aggregator_pad_get_buffer:
+ * gst_aggregator_pad_peek_buffer:
* @pad: the pad to get buffer from
*
* Returns: (transfer full): A reference to the buffer in @pad or
* usage.
*/
GstBuffer *
-gst_aggregator_pad_get_buffer (GstAggregatorPad * pad)
+gst_aggregator_pad_peek_buffer (GstAggregatorPad * pad)
{
GstBuffer *buffer;
***************************/
GST_EXPORT
-GstBuffer * gst_aggregator_pad_steal_buffer (GstAggregatorPad * pad);
+GstBuffer * gst_aggregator_pad_pop_buffer (GstAggregatorPad * pad);
GST_EXPORT
-GstBuffer * gst_aggregator_pad_get_buffer (GstAggregatorPad * pad);
+GstBuffer * gst_aggregator_pad_peek_buffer (GstAggregatorPad * pad);
GST_EXPORT
gboolean gst_aggregator_pad_drop_buffer (GstAggregatorPad * pad);
all_eos = FALSE;
if (testagg->gap_expected == TRUE) {
- buf = gst_aggregator_pad_get_buffer (pad);
+ buf = gst_aggregator_pad_peek_buffer (pad);
fail_unless (buf);
fail_unless (GST_BUFFER_PTS (buf) == TEST_GAP_PTS);
fail_unless (GST_BUFFER_DURATION (buf) == TEST_GAP_DURATION);
gst_aggregator_get_latency
gst_aggregator_get_type
gst_aggregator_pad_drop_buffer
- gst_aggregator_pad_get_buffer
gst_aggregator_pad_get_type
gst_aggregator_pad_is_eos
- gst_aggregator_pad_steal_buffer
+ gst_aggregator_pad_peek_buffer
+ gst_aggregator_pad_pop_buffer
gst_aggregator_set_latency
gst_aggregator_set_src_caps
gst_base_parse_add_index_entry