VideoDecoder.setNeedsSyncPoint

Configures whether the decoder requires a sync point before it starts outputting data in the beginning. If enabled, the base class will discard all non-sync point frames in the beginning and after a flush and does not pass it to the subclass.

If the first frame is not a sync point, the base class will request a sync point via the force-key-unit event.

class VideoDecoder
void
setNeedsSyncPoint
(
bool enabled
)

Parameters

enabled bool

new state