Commit b97c469d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

XCB/XVideo: skip completely if overlay is disabled

parent 103cd865
......@@ -297,6 +297,9 @@ static int Open (vlc_object_t *obj)
vout_display_t *vd = (vout_display_t *)obj;
vout_display_sys_t *p_sys = malloc (sizeof (*p_sys));
if (!var_CreateGetBool (obj, "overlay"))
if (p_sys == NULL)
return VLC_ENOMEM;
Supports Markdown
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