on_push_buffer


Description:

[ CCode ( cname = "push-buffer" ) ]
public signal FlowReturn on_push_buffer (Buffer buffer)

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

This function does not take ownership of the buffer, but it takes a reference so the buffer can be unreffed at any time after calling this function.

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

Parameters:

buffer

a buffer to push