Pool size 20 for vaapi

This commit is contained in:
dec05eba
2024-02-28 18:11:39 +01:00
parent 1d54d61b78
commit 4d8a9e2e1d
5 changed files with 2 additions and 19 deletions

View File

@@ -103,8 +103,6 @@ static bool cuda_create_codec_context(gsr_capture_kms_cuda *cap_kms, AVCodecCont
hw_frame_context->device_ref = device_ctx;
hw_frame_context->device_ctx = (AVHWDeviceContext*)device_ctx->data;
hw_frame_context->initial_pool_size = 1;
if (av_hwframe_ctx_init(frame_context) < 0) {
fprintf(stderr, "Error: Failed to initialize hardware frame context "
"(note: ffmpeg version needs to be > 4.0)\n");