VideoDecoder.finishFrame

frame should have a valid decoded data buffer, whose metadata fields are then appropriately set according to frame data and pushed downstream. If no output data is provided, frame is considered skipped. In any case, the frame is considered finished and released.

After calling this function the output buffer of the frame is to be considered read-only. This function will also change the metadata of the buffer.

Parameters

frame gstvideo.video_codec_frame.VideoCodecFrame

a decoded #GstVideoCodecFrame

Return Value

Type: gst.types.FlowReturn

a #GstFlowReturn resulting from sending data downstream