push_buffer


Description:

public virtual FlowReturn push_buffer (owned Buffer buffer)

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.

Parameters:

this

a Src

buffer

a Buffer to push

Returns:

OK when the buffer was successfully queued. FLUSHING when this is not PAUSED or PLAYING. EOS when EOS occurred.