va: basedec: fix return type

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5903>
This commit is contained in:
Víctor Manuel Jáquez Leal 2024-01-10 12:40:54 +01:00
parent 14c5d3ee91
commit 7f14bfe8b8

View file

@ -1134,7 +1134,7 @@ gst_va_base_dec_process_output (GstVaBaseDec * base, GstVideoCodecFrame * frame,
base->need_negotiation = TRUE;
if (!gst_video_decoder_negotiate (vdec)) {
GST_ERROR_OBJECT (base, "Could not re-negotiate with updated state");
return GST_FLOW_ERROR;
return FALSE;
}
}