[vlc-commits] opengl: add comment
Thomas Guillem
git at videolan.org
Fri May 18 13:27:48 CEST 2018
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri May 18 13:26:49 2018 +0200| [ac8e185dda7ca6f68677b53e4ea0a977a121c160] | committer: Thomas Guillem
opengl: add comment
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ac8e185dda7ca6f68677b53e4ea0a977a121c160
---
modules/video_output/opengl/converter_sw.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/video_output/opengl/converter_sw.c b/modules/video_output/opengl/converter_sw.c
index d609468cd2..6676879a1d 100644
--- a/modules/video_output/opengl/converter_sw.c
+++ b/modules/video_output/opengl/converter_sw.c
@@ -139,6 +139,8 @@ pbo_picture_create(const opengl_tex_converter_t *tc, bool direct_rendering)
picsys->gl = tc->gl;
vlc_gl_Hold(picsys->gl);
}
+
+ /* XXX: needed since picture_NewFromResource override pic planes */
if (picture_Setup(pic, &tc->fmt))
{
picture_Release(pic);
More information about the vlc-commits
mailing list