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