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

mmal: do not delete nonexistent window

The code checks that there is no window earlier.
parent 112a8ed7
...@@ -314,8 +314,6 @@ static int Open(vlc_object_t *object) ...@@ -314,8 +314,6 @@ static int Open(vlc_object_t *object)
sys->dmx_handle = vc_dispmanx_display_open(0); sys->dmx_handle = vc_dispmanx_display_open(0);
vd->info.subpicture_chromas = subpicture_chromas; vd->info.subpicture_chromas = subpicture_chromas;
vout_display_DeleteWindow(vd, NULL);
out: out:
if (ret != VLC_SUCCESS) if (ret != VLC_SUCCESS)
Close(object); Close(object);
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