diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-10-08 22:25:07 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-10-08 22:25:07 +0200 |
commit | cf7b5e0904c145500961a1279beb806b96e0d53f (patch) | |
tree | 63362ac9883eecaef96d22182cafe38529d03fe9 /src/capture | |
parent | 8d9797d897c3d70029d25c7486f818ce668c5323 (diff) |
Attempt to fix vram leak(?)
Diffstat (limited to 'src/capture')
-rw-r--r-- | src/capture/kms_vaapi.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/capture/kms_vaapi.c b/src/capture/kms_vaapi.c index 0efe5c1..5899f9f 100644 --- a/src/capture/kms_vaapi.c +++ b/src/capture/kms_vaapi.c @@ -245,8 +245,6 @@ static void gsr_capture_kms_vaapi_tick(gsr_capture *cap, AVCodecContext *video_c cap_kms->params.egl->glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR); cap_kms->params.egl->glBindTexture(GL_TEXTURE_2D, 0); - fprintf(stderr, "prime width: %u, height: %u\n", cap_kms->prime.width, cap_kms->prime.height); - if(cap_kms->prime.fourcc == FOURCC_NV12) { cap_kms->params.egl->glGenTextures(2, cap_kms->target_textures); for(int i = 0; i < 2; ++i) { |