BaseSink.doPreroll

If the sink spawns its own thread for pulling buffers from upstream it should call this method after it has pulled a buffer. If the element needed to preroll, this function will perform the preroll and will then block until the element state is changed.

This function should be called with the PREROLL_LOCK held.

Parameters

objthe mini object that caused the preroll

Returns

gst.types.FlowReturn.Ok if the preroll completed and processing can

continue. Any other return value should be returned from the render vmethod.