nvvp9dec: Fix return value

It should return GstFlowReturn value, not boolean

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3870>
This commit is contained in:
Seungha Yang 2023-02-02 05:04:48 +09:00
parent b12c66042b
commit 29bd8de052

View file

@ -480,7 +480,7 @@ gst_nv_vp9_dec_decode_picture (GstVp9Decoder * decoder,
dpb->pic_list[i]);
if (!other_frame) {
GST_ERROR_OBJECT (self, "Couldn't get decoder frame from picture");
return FALSE;
return GST_FLOW_ERROR;
}
ref_frame_map[i] = other_frame->index;