set_needs_sync_point


Description:

[ Version ( since = "1.20" ) ]
public void set_needs_sync_point (bool enabled)

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.

Parameters:

this

a Decoder

enabled

new state