dav1dplay: Disable zerocopy on placebo-gl
These functions are not thread-safe on GL, because they are not called from the thread holding the GL context. Work around this by simply disabling it. Not very optimal, but better than crashing.
This commit is contained in:
committed by
Jean-Baptiste Kempf
parent
8b1a96e481
commit
06e8ed37d3
@@ -706,8 +706,6 @@ const Dav1dPlayRenderInfo rdr_placebo_gl = {
|
||||
.destroy_renderer = placebo_renderer_destroy,
|
||||
.render = placebo_render,
|
||||
.update_frame = placebo_upload_image,
|
||||
.alloc_pic = placebo_alloc_pic,
|
||||
.release_pic = placebo_release_pic,
|
||||
|
||||
# if PL_API_VER >= 63
|
||||
.supports_gpu_grain = 1,
|
||||
|
||||
Reference in New Issue
Block a user