mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
vdpaumpegdec: don't ignore return value of gst_base_video_decoder_finish_frame
This commit is contained in:
parent
f09f27a761
commit
d60c67b2c2
1 changed files with 2 additions and 2 deletions
|
@ -384,13 +384,13 @@ gst_vdp_mpeg_dec_handle_frame (GstBaseVideoDecoder * base_video_decoder,
|
|||
frame->src_buffer = GST_BUFFER_CAST (outbuf);
|
||||
|
||||
if (info->picture_coding_type == B_FRAME) {
|
||||
gst_base_video_decoder_finish_frame (base_video_decoder, frame);
|
||||
ret = gst_base_video_decoder_finish_frame (base_video_decoder, frame);
|
||||
} else {
|
||||
info->backward_reference = GST_VDP_VIDEO_BUFFER (outbuf)->surface;
|
||||
mpeg_dec->b_frame = gst_video_frame_ref (frame);
|
||||
}
|
||||
|
||||
return GST_FLOW_OK;
|
||||
return ret;
|
||||
}
|
||||
|
||||
static GstVideoFrame *
|
||||
|
|
Loading…
Reference in a new issue