nvvp9sldec: Increase DPB size to cover render delay
authorSeungha Yang <seungha@centricular.com>
Wed, 27 Apr 2022 15:31:49 +0000 (00:31 +0900)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 27 Apr 2022 18:35:07 +0000 (18:35 +0000)
This should've included in the previous MR
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/987
already, but missed.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2313>

subprojects/gst-plugins-bad/sys/nvcodec/gstnvvp9dec.c

index 6840ac05703e7a3ec11dad58afe94017ecc3b702..b77e0cc697c9d208d6b3e10aa4914aaf6ed837d3 100644 (file)
@@ -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;
   }