checkElementPushBuffer

fnvoid 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

elementNamename of the element that needs to be created
bufferInpush this buffer to the element
capsInthe #GstCaps expected of the sinkpad of the element
bufferOutcompare the result with this buffer
capsOutthe #GstCaps expected of the srcpad of the element