From 29bd8de0521615f03bc6f7d573f16a1a6900ac8c Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 2 Feb 2023 05:04:48 +0900 Subject: [PATCH] nvvp9dec: Fix return value It should return GstFlowReturn value, not boolean Part-of: --- subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c b/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c index 75bb956db2..82951c4dbe 100644 --- a/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c +++ b/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c @@ -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;