From d953d4de90d92e604712f0ec1897a26cb1e75708 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 46636914b1..9e4ccd6a29 100644 --- a/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c +++ b/subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c @@ -273,7 +273,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; }