Skip to content

msdkdec: Fix buffer allocation based on frame.

gst_msdkdec_finish_task() may release all frames in GstVideoDecoder object. In this case, allocate_output_buffer() cannot get the oldest frame to allocate buffer. So gst_msdkdec_handle_frame() should return GST_FLOW_OK for letting gst_video_decoder_decode_frame() to send a new frame for decoding.

Fixes #664 (closed). Fixes #665 (closed).

Edited by Yan Wang

Merge request reports

Loading