Add support for software video encoding with '-encoder cpu' option, currently h264 only

This commit is contained in:
dec05eba
2024-07-04 01:35:03 +02:00
parent ea7b58d7f9
commit 62d61fda12
21 changed files with 686 additions and 171 deletions

View File

@@ -343,7 +343,6 @@ int gsr_capture_xcomposite_capture(gsr_capture_xcomposite *self, AVFrame *frame)
}
}
self->params.egl->eglSwapBuffers(self->params.egl->egl_display, self->params.egl->egl_surface);
//self->params.egl->glFlush();
//self->params.egl->glFinish();