VideoDecoder.requestSyncPoint

Allows the #GstVideoDecoder subclass to request from the base class that a new sync should be requested from upstream, and that frame was the frame when the subclass noticed that a new sync point is required. A reason for the subclass to do this could be missing reference frames, for example.

The base class will then request a new sync point from upstream as long as the time that passed since the last one is exceeding #GstVideoDecoder:min-force-key-unit-interval.

The subclass can signal via flags how the frames until the next sync point should be handled:

Parameters

frame gstvideo.video_codec_frame.VideoCodecFrame

a #GstVideoCodecFrame

flags gstvideo.types.VideoDecoderRequestSyncPointFlags

#GstVideoDecoderRequestSyncPointFlags