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

obj gst.mini_object.MiniObject

the mini object that caused the preroll

Return Value

Type: gst.types.FlowReturn

gst.types.FlowReturn.Ok if the preroll completed and processing can continue. Any other return value should be returned from the render vmethod.