Functions
GST_BUFFER_POOL_IS_FLUSHING()
#define GST_BUFFER_POOL_IS_FLUSHING(pool) (g_atomic_int_get (&pool->flushing))
gst_buffer_pool_new ()
GstBufferPool *
gst_buffer_pool_new (void
);
gst_buffer_pool_config_n_options ()
guint
gst_buffer_pool_config_n_options (GstStructure *config
);
gst_buffer_pool_config_add_option ()
void
gst_buffer_pool_config_add_option (GstStructure *config
,
const gchar *option
);
gst_buffer_pool_config_get_option ()
const gchar *
gst_buffer_pool_config_get_option (GstStructure *config
,
guint index
);
gst_buffer_pool_get_options ()
const gchar **
gst_buffer_pool_get_options (GstBufferPool *pool
);
gst_buffer_pool_set_flushing ()
void
gst_buffer_pool_set_flushing (GstBufferPool *pool
,
gboolean flushing
);
gst_buffer_pool_release_buffer ()
void
gst_buffer_pool_release_buffer (GstBufferPool *pool
,
GstBuffer *buffer
);
Types and Values
GstBufferPool
typedef struct _GstBufferPool GstBufferPool;
struct GstBufferPoolClass
struct GstBufferPoolClass {
GstObjectClass object_class;
const gchar ** (*get_options) (GstBufferPool *pool);
gboolean (*set_config) (GstBufferPool *pool, GstStructure *config);
gboolean (*start) (GstBufferPool *pool);
gboolean (*stop) (GstBufferPool *pool);
GstFlowReturn (*acquire_buffer) (GstBufferPool *pool, GstBuffer **buffer,
GstBufferPoolAcquireParams *params);
GstFlowReturn (*alloc_buffer) (GstBufferPool *pool, GstBuffer **buffer,
GstBufferPoolAcquireParams *params);
void (*reset_buffer) (GstBufferPool *pool, GstBuffer *buffer);
void (*release_buffer) (GstBufferPool *pool, GstBuffer *buffer);
void (*free_buffer) (GstBufferPool *pool, GstBuffer *buffer);
void (*flush_start) (GstBufferPool *pool);
void (*flush_stop) (GstBufferPool *pool);
};
enum GstBufferPoolAcquireFlags
struct GstBufferPoolAcquireParams
struct GstBufferPoolAcquireParams {
GstFormat format;
gint64 start;
gint64 stop;
GstBufferPoolAcquireFlags flags;
};