Commit 710b39fa authored by Laurent Aimar's avatar Laurent Aimar

Called vout_display_DeleteWindow(vd, NULL) for vout display not using vout window.

parent 5741789d
......@@ -97,6 +97,7 @@ static int Open(vlc_object_t *object)
msg_Err(vd, "cannot initialize aalib");
goto error;
}
vout_display_DeleteWindow(vd, NULL);
aa_autoinitkbd(sys->aa_context, 0);
aa_autoinitmouse(sys->aa_context, AA_MOUSEALLMASK);
......
......@@ -153,6 +153,7 @@ static int Open(vlc_object_t *object)
msg_Err(vd, "cannot initialize libcaca");
goto error;
}
vout_display_DeleteWindow(vd, NULL);
if (vd->cfg->display.title)
caca_set_display_title(sys->dp,
......
......@@ -108,6 +108,7 @@ static int Open(vlc_object_t *object)
Close(VLC_OBJECT(vd));
return VLC_EGENERIC;
}
vout_display_DeleteWindow(vd, NULL);
/* */
video_format_t fmt = vd->fmt;
......
......@@ -251,6 +251,7 @@ static int Open(vlc_object_t *object)
Close(VLC_OBJECT(vd));
return VLC_EGENERIC;
}
vout_display_DeleteWindow(vd, NULL);
/* */
video_format_t fmt = vd->fmt;
......
......@@ -127,6 +127,7 @@ static int Open(vlc_object_t *this)
msg_Dbg(vd, "No drawable-nsobject, passing over.");
goto error;
}
vout_display_DeleteWindow(vd, NULL);
/* This will be released in Close(), on
* main thread, after we are done using it. */
......
......@@ -180,6 +180,7 @@ static int Open(vlc_object_t *object)
msg_Err(vd, "no video mode available");
goto error;
}
vout_display_DeleteWindow(vd, NULL);
sys->display = SDL_SetVideoMode(display_width, display_height,
sys->display_bpp, sys->display_flags);
......
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