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/2324>
This commit is contained in:
Seungha Yang 2022-04-28 00:31:49 +09:00 committed by GStreamer Marge Bot
parent c950ba14a3
commit d953d4de90

View file

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