Commit 44e70121 authored by Thomas Guillem's avatar Thomas Guillem

vout: gl: don't handle Android opaque fmt

parent ec65d2e2
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment