mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-05 22:40:42 +09:00
Fix audio recording (channel layout) for ffmpeg 7
This commit is contained in:
@@ -328,7 +328,7 @@ static bool gsr_egl_switch_to_glx_context(gsr_egl *self) {
|
||||
}
|
||||
|
||||
static bool gsr_egl_load_egl(gsr_egl *self, void *library) {
|
||||
dlsym_assign required_dlsym[] = {
|
||||
const dlsym_assign required_dlsym[] = {
|
||||
{ (void**)&self->eglGetError, "eglGetError" },
|
||||
{ (void**)&self->eglGetDisplay, "eglGetDisplay" },
|
||||
{ (void**)&self->eglInitialize, "eglInitialize" },
|
||||
@@ -373,7 +373,7 @@ static bool gsr_egl_proc_load_egl(gsr_egl *self) {
|
||||
}
|
||||
|
||||
static bool gsr_egl_load_glx(gsr_egl *self, void *library) {
|
||||
dlsym_assign required_dlsym[] = {
|
||||
const dlsym_assign required_dlsym[] = {
|
||||
{ (void**)&self->glXGetProcAddress, "glXGetProcAddress" },
|
||||
{ (void**)&self->glXChooseFBConfig, "glXChooseFBConfig" },
|
||||
{ (void**)&self->glXMakeContextCurrent, "glXMakeContextCurrent" },
|
||||
@@ -403,7 +403,7 @@ static bool gsr_egl_load_glx(gsr_egl *self, void *library) {
|
||||
}
|
||||
|
||||
static bool gsr_egl_load_gl(gsr_egl *self, void *library) {
|
||||
dlsym_assign required_dlsym[] = {
|
||||
const dlsym_assign required_dlsym[] = {
|
||||
{ (void**)&self->glGetError, "glGetError" },
|
||||
{ (void**)&self->glGetString, "glGetString" },
|
||||
{ (void**)&self->glFlush, "glFlush" },
|
||||
|
||||
Reference in New Issue
Block a user