diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-07-04 01:35:03 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-07-04 01:35:03 +0200 |
commit | 62d61fda12e3774fee6b671e44fb89bd2ef8da8c (patch) | |
tree | d5050689876d9adbe51bdf137475b3c3bc332c63 /src/capture/kms.c | |
parent | ea7b58d7f92b179a4c2717237422e1200b5be673 (diff) |
Add support for software video encoding with '-encoder cpu' option, currently h264 only
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 ec83cab..0d9bab1 100644 --- a/src/capture/kms.c +++ b/src/capture/kms.c @@ -212,7 +212,6 @@ static vec2i swap_vec2i(vec2i value) { bool gsr_capture_kms_capture(gsr_capture_kms *self, AVFrame *frame, bool hdr, bool screen_plane_use_modifiers, bool cursor_texture_is_external, bool record_cursor) { //egl->glClearColor(0.0f, 0.0f, 0.0f, 1.0f); - self->base.egl->glClear(0); gsr_capture_kms_cleanup_kms_fds(self); @@ -380,7 +379,6 @@ bool gsr_capture_kms_capture(gsr_capture_kms *self, AVFrame *frame, bool hdr, bo self->base.egl->glDisable(GL_SCISSOR_TEST); } - self->base.egl->eglSwapBuffers(self->base.egl->egl_display, self->base.egl->egl_surface); //self->base.egl->glFlush(); //self->base.egl->glFinish(); |