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:
Niklas Haas
2021-01-26 18:06:23 +01:00
committed by Jean-Baptiste Kempf
parent 8b1a96e481
commit 06e8ed37d3
-2
View File
@@ -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,