From 9d0417045e3e1d6ee62af1ec38714f3bd6951f11 Mon Sep 17 00:00:00 2001 From: jojo61 Date: Sun, 2 Feb 2020 11:15:17 +0100 Subject: [PATCH] Fixed vaapi SD streams --- video.c | 1 + 1 file changed, 1 insertion(+) diff --git a/video.c b/video.c index c6d3d00..aab061f 100644 --- a/video.c +++ b/video.c @@ -2792,6 +2792,7 @@ static int init_generic_hwaccel(CuvidDecoder * decoder, enum AVPixelFormat hw_fm } if (!decoder->cached_hw_frames_ctx) { + new_fctx->initial_pool_size = 17; if (av_hwframe_ctx_init(new_frames_ctx) < 0) { Debug(3, "Failed to allocate hw frames.\n"); goto error;