VideoEncoder.getMaxEncodeTime

Determines maximum possible encoding time for frame that will allow it to encode and arrive in time (as determined by QoS events). In particular, a negative result means encoding in time is no longer possible and should therefore occur as soon/skippy as possible.

If no QoS events have been received from downstream, or if #GstVideoEncoder:qos is disabled this function returns #G_MAXINT64.

Parameters

frame gstvideo.video_codec_frame.VideoCodecFrame

a #GstVideoCodecFrame

Return Value

Type: gst.types.ClockTimeDiff

max decoding time.