Commit 296befba authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

vmem: destroy the vout window if any

parent 774f6b6a
...@@ -229,6 +229,7 @@ static int Open(vlc_object_t *object) ...@@ -229,6 +229,7 @@ static int Open(vlc_object_t *object)
/* */ /* */
vout_display_SendEventFullscreen(vd, false); vout_display_SendEventFullscreen(vd, false);
vout_display_SendEventDisplaySize(vd, fmt.i_width, fmt.i_height, false); vout_display_SendEventDisplaySize(vd, fmt.i_width, fmt.i_height, false);
vout_display_DeleteWindow(vd, NULL);
return VLC_SUCCESS; return VLC_SUCCESS;
} }
......
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