From dce45586e8f036a9b96bb6e027d3e4765b7219dc Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 28 Apr 2022 00:31:49 +0900 Subject: [PATCH] nvvp9sldec: Increase DPB size to cover render delay This should've included in the previous MR https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/987 already, but missed. 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 6840ac0570..b77e0cc697 100644 --- a/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c +++ b/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c @@ -274,7 +274,7 @@ gst_nv_vp9_dec_new_sequence (GstVp9Decoder * decoder, cudaVideoCodec_VP9, &info, self->width, self->height, frame_hdr->bit_depth, /* +4 for render delay */ - NUM_OUTPUT_VIEW)) { + NUM_OUTPUT_VIEW + 4)) { GST_ERROR_OBJECT (self, "Failed to configure decoder"); return GST_FLOW_NOT_NEGOTIATED; }