public void element_push_buffer (string element_name, Buffer buffer_in, Caps caps_in, Buffer buffer_out, Caps caps_out)
Create an element using the factory providing the
element_name and push the
buffer_in to this element.
The element should create one buffer and this will be compared with
buffer_out. We only check the caps and the data of the
buffers. This function unrefs the buffers.
name of the element that needs to be created
push this buffer to the element
the Caps expected of the sinkpad of the element
compare the result with this buffer
the Caps expected of the srcpad of the element