diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-13 22:34:29 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-13 22:34:29 +0100 |
commit | b0de8588f2f4a5204e9bc22218eed884fa741153 (patch) | |
tree | 6089c4688e9e65ce1f0d1ac3ee9709a020e0d942 /src/capture/kms.c | |
parent | f63409bdd758b80f3a4e414fd5cb5526e384c93a (diff) |
Take screenshot with XGetImage on x11 to workaround nvidia driver (nvfbc) limitation that only allows one nvfbc session at a time
Diffstat (limited to 'src/capture/kms.c')
-rw-r--r-- | src/capture/kms.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/capture/kms.c b/src/capture/kms.c index 9693c58..578fded 100644 --- a/src/capture/kms.c +++ b/src/capture/kms.c @@ -14,9 +14,7 @@ #include <xf86drm.h> #include <libdrm/drm_fourcc.h> -#include <libavcodec/avcodec.h> #include <libavutil/mastering_display_metadata.h> -#include <libavformat/avformat.h> #define FIND_CRTC_BY_NAME_TIMEOUT_SECONDS 2.0 |