diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-02-28 18:11:39 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-03-08 11:34:36 +0100 |
commit | 4d8a9e2e1d7d257aeff0497b6550df82f60bc0e8 (patch) | |
tree | 6e4d55e73df5f57b1d083e400f6e35e01ccefdc8 /src/capture/xcomposite_vaapi.c | |
parent | 1d54d61b78478762cbbaa7dd039520b9c3955f45 (diff) |
Pool size 20 for vaapi
Diffstat (limited to 'src/capture/xcomposite_vaapi.c')
-rw-r--r-- | src/capture/xcomposite_vaapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/capture/xcomposite_vaapi.c b/src/capture/xcomposite_vaapi.c index 2775bb3..d32dd39 100644 --- a/src/capture/xcomposite_vaapi.c +++ b/src/capture/xcomposite_vaapi.c @@ -93,7 +93,7 @@ static bool drm_create_codec_context(gsr_capture_xcomposite_vaapi *cap_xcomp, AV hw_frame_context->device_ref = device_ctx; hw_frame_context->device_ctx = (AVHWDeviceContext*)device_ctx->data; - hw_frame_context->initial_pool_size = 1; + hw_frame_context->initial_pool_size = 20; AVVAAPIDeviceContext *vactx =((AVHWDeviceContext*)device_ctx->data)->hwctx; cap_xcomp->va_dpy = vactx->display; |