[vlc-commits] opengl: alloc 1 extra pic when direct rendering
Thomas Guillem
git at videolan.org
Mon Mar 20 18:35:38 CET 2017
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Mar 20 18:33:12 2017 +0100| [4da998de6493efdd431574a37a97febeb2c30192] | committer: Thomas Guillem
opengl: alloc 1 extra pic when direct rendering
Since pictures are held while being rendered by the GPU.
Ref #18116
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4da998de6493efdd431574a37a97febeb2c30192
---
modules/video_output/opengl/converters.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/video_output/opengl/converters.c b/modules/video_output/opengl/converters.c
index 212d360..629c2d3 100644
--- a/modules/video_output/opengl/converters.c
+++ b/modules/video_output/opengl/converters.c
@@ -826,6 +826,7 @@ tc_persistent_get_pool(const opengl_tex_converter_t *tc, const video_format_t *f
unsigned count;
priv->persistent.list = 0;
+ requested_count++;
for (count = 0; count < requested_count; count++)
{
More information about the vlc-commits
mailing list