1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00

Fixed vaapi SD streams

This commit is contained in:
jojo61 2020-02-02 11:15:17 +01:00
parent f7449c8d3a
commit 9d0417045e

View File

@ -2792,6 +2792,7 @@ static int init_generic_hwaccel(CuvidDecoder * decoder, enum AVPixelFormat hw_fm
} }
if (!decoder->cached_hw_frames_ctx) { if (!decoder->cached_hw_frames_ctx) {
new_fctx->initial_pool_size = 17;
if (av_hwframe_ctx_init(new_frames_ctx) < 0) { if (av_hwframe_ctx_init(new_frames_ctx) < 0) {
Debug(3, "Failed to allocate hw frames.\n"); Debug(3, "Failed to allocate hw frames.\n");
goto error; goto error;