Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2021-01-26 20:06:23 +0300
committerJean-Baptiste Kempf <jb@videolan.org>2021-02-06 12:50:52 +0300
commit06e8ed37d32c6bf2b37d8a67d7445181c946a9ca (patch)
tree8c7da4de8ef887c5787d0d0bee71780afdd74378 /examples
parent8b1a96e4812cd04142e14522efd908fb60cee642 (diff)
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.
Diffstat (limited to 'examples')
-rw-r--r--examples/dp_renderer_placebo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/dp_renderer_placebo.c b/examples/dp_renderer_placebo.c
index 2dd7bea..cca532f 100644
--- a/examples/dp_renderer_placebo.c
+++ b/examples/dp_renderer_placebo.c
@@ -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,