AppSrc.pushBuffer

Adds a buffer to the queue of buffers that the appsrc element will push to its source pad. This function takes ownership of the buffer.

When the block property is TRUE, this function can block until free space becomes available in the queue.

class AppSrc
pushBuffer

Parameters

buffer Buffer

a #GstBuffer to push

Return Value

#GST_FLOW_OK when the buffer was successfuly queued. #GST_FLOW_FLUSHING when @appsrc is not PAUSED or PLAYING. #GST_FLOW_EOS when EOS occured.

Meta