checkElementPushBuffer
fn
void checkElementPushBuffer(string elementName, gst.buffer.Buffer bufferIn, gst.caps.Caps capsIn, gst.buffer.Buffer bufferOut, gst.caps.Caps capsOut)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.
Parameters
elementName | name of the element that needs to be created |
bufferIn | push this buffer to the element |
capsIn | the #GstCaps expected of the sinkpad of the element |
bufferOut | compare the result with this buffer |
capsOut | the #GstCaps expected of the srcpad of the element |