From 44e70121f9ba81fe7b3ae74fd96b798439f3b3e6 Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Mon, 28 Nov 2016 10:20:32 +0100 Subject: [PATCH] vout: gl: don't handle Android opaque fmt --- modules/video_output/gl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/video_output/gl.c b/modules/video_output/gl.c index f89e7c3759..01aeb6f74f 100644 --- a/modules/video_output/gl.c +++ b/modules/video_output/gl.c @@ -99,6 +99,10 @@ static int Control (vout_display_t *, int, va_list); static int Open (vlc_object_t *obj) { vout_display_t *vd = (vout_display_t *)obj; + + if (vd->fmt.i_chroma == VLC_CODEC_ANDROID_OPAQUE) + return VLC_EGENERIC; + vout_display_sys_t *sys = malloc (sizeof (*sys)); if (unlikely(sys == NULL)) return VLC_ENOMEM; -- GitLab