aboutsummaryrefslogtreecommitdiff
path: root/src/capture/kms_cuda.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-02-28 18:11:39 +0100
committerdec05eba <dec05eba@protonmail.com>2024-03-08 11:34:36 +0100
commit4d8a9e2e1d7d257aeff0497b6550df82f60bc0e8 (patch)
tree6e4d55e73df5f57b1d083e400f6e35e01ccefdc8 /src/capture/kms_cuda.c
parent1d54d61b78478762cbbaa7dd039520b9c3955f45 (diff)
Pool size 20 for vaapi
Diffstat (limited to 'src/capture/kms_cuda.c')
-rw-r--r--src/capture/kms_cuda.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/capture/kms_cuda.c b/src/capture/kms_cuda.c
index 9ef25f8..8970a0b 100644
--- a/src/capture/kms_cuda.c
+++ b/src/capture/kms_cuda.c
@@ -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");