https://bugzilla.gnome.org/show_bug.cgi?id=795332
gst_aggregator_pad_peek_buffer
gst_aggregator_pad_drop_buffer
gst_aggregator_pad_is_eos
+gst_aggregator_pad_has_buffer
<SUBSECTION Standard>
GST_IS_AGGREGATOR_PAD
GST_IS_AGGREGATOR_PAD_CLASS
return buffer;
}
+/**
+ * gst_aggregator_pad_has_buffer:
+ * @pad: the pad to check the buffer on
+ *
+ * Returns: %TRUE if the pad has a buffer available as the next thing.
+ *
+ * Since: 1.16
+ */
+gboolean
+gst_aggregator_pad_has_buffer (GstAggregatorPad * pad)
+{
+ gboolean has_buffer;
+
+ PAD_LOCK (pad);
+ gst_aggregator_pad_clip_buffer_unlocked (pad);
+ has_buffer = (pad->priv->clipped_buffer != NULL);
+ PAD_UNLOCK (pad);
+
+ return has_buffer;
+}
+
/**
* gst_aggregator_pad_is_eos:
* @pad: an aggregator pad
GST_BASE_API
gboolean gst_aggregator_pad_drop_buffer (GstAggregatorPad * pad);
+GST_BASE_API
+gboolean gst_aggregator_pad_has_buffer (GstAggregatorPad * pad);
+
GST_BASE_API
gboolean gst_aggregator_pad_is_eos (GstAggregatorPad * pad);