mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-08 23:42:28 +00:00
nvvp9dec: Fix return value
It should return GstFlowReturn value, not boolean Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3874>
This commit is contained in:
parent
6ce76c43cb
commit
ba91964a70
1 changed files with 1 additions and 1 deletions
|
@ -480,7 +480,7 @@ gst_nv_vp9_dec_decode_picture (GstVp9Decoder * decoder,
|
||||||
dpb->pic_list[i]);
|
dpb->pic_list[i]);
|
||||||
if (!other_frame) {
|
if (!other_frame) {
|
||||||
GST_ERROR_OBJECT (self, "Couldn't get decoder frame from picture");
|
GST_ERROR_OBJECT (self, "Couldn't get decoder frame from picture");
|
||||||
return FALSE;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
ref_frame_map[i] = other_frame->index;
|
ref_frame_map[i] = other_frame->index;
|
||||||
|
|
Loading…
Reference in a new issue