You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the render.h API, call mpv_render_context_create when OpenGL is unavailable or not ready. It can be reproduced by simply returning NULL in the function provided for get_proc_address.
mpv version and platform
mpv 0.29.1
macOS 10.14.3
Reproduction steps
When using the render.h API, call
mpv_render_context_create
when OpenGL is unavailable or not ready. It can be reproduced by simply returningNULL
in the function provided forget_proc_address
.#6249 and #6379 might be related.
Expected behavior
mpv_render_context_create
should return the error code if cannot get the OpenGL entry point.Actual behavior
mpv_render_context_create
crashes (EXC_BAD_ACCESS) at:mpv/video/out/vo_libmpv.c
Line 300 in e5c4164
Seems that the resource is freed twice (the first time at
mpv/video/out/vo_libmpv.c
Line 194 in e5c4164
err
returned byctx->renderer->fns->init
is less than zero.Log file
N/A
Sample files
N/A
The text was updated successfully, but these errors were encountered: