[vlc-commits] opengl: support fallback for opaque input
Steve Lhomme
git at videolan.org
Wed May 17 15:04:39 CEST 2017
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed May 17 15:01:32 2017 +0200| [1664bf2d55d7239b54e87933ba75959a5bac4d77] | committer: Thomas Guillem
opengl: support fallback for opaque input
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1664bf2d55d7239b54e87933ba75959a5bac4d77
---
modules/video_output/opengl/converters.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/opengl/converters.c b/modules/video_output/opengl/converters.c
index e4b4e48e4c..9730957a89 100644
--- a/modules/video_output/opengl/converters.c
+++ b/modules/video_output/opengl/converters.c
@@ -1045,7 +1045,7 @@ generic_init(video_format_t *fmt, opengl_tex_converter_t *tc, bool allow_dr)
{
const vlc_chroma_description_t *desc =
vlc_fourcc_GetChromaDescription(fmt->i_chroma);
- if (!desc || desc->plane_count == 0)
+ if (!desc)
return 0;
GLuint fragment_shader = 0;
More information about the vlc-commits
mailing list