Commit 77028e4a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

MMAL: check that the vout is not windowed

parent 9b24bfb5
......@@ -185,6 +185,9 @@ static int Open(vlc_object_t *object)
int ret = VLC_SUCCESS;
unsigned i;
if (vout_display_IsWindowed(vd))
return VLC_EGENERIC;
sys = calloc(1, sizeof(struct vout_display_sys_t));
if (!sys)
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