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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2313>
This commit is contained in:
Seungha Yang 2022-04-28 00:31:49 +09:00 committed by GStreamer Marge Bot
parent 0125d7525a
commit dce45586e8

View 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;
}