#define __GST_BUFFER_POOL_H__
#include <gst/gstminiobject.h>
-#include <gst/gstatomicqueue.h>
-#include <gst/gstpoll.h>
-#include <gst/gstclock.h>
#include <gst/gstpad.h>
#include <gst/gstbuffer.h>
struct _GstBufferPool {
GstObject object;
- /*< private >*/
- gboolean active;
- gboolean flushing;
- gboolean started;
- gint outstanding;
- GstAtomicQueue *queue;
- GstPoll *poll;
-
- gboolean configured;
- GstStructure *config;
+ /*< protected >*/
+ gint flushing;
+ /*< private >*/
GstBufferPoolPrivate *priv;
gpointer _gst_reserved[GST_PADDING];
* be released when there are no buffers available.
* @alloc_buffer: allocate a buffer. the default implementation allocates
* buffers from the default memory allocator and with the configured
- * size, prefix and alignment.
+ * size, prefix and alignment. All metadata that is present on the
+ * allocated buffer will be marked as #GST_META_FLAG_POOLED and will not
+ * be removed from the buffer in @reset_buffer.
* @reset_buffer: reset the buffer to its state when it was freshly allocated.
* The default implementation will clear the flags, timestamps and
* will remove the metadata added after alloc_buffer.