[vlc-commits] mmal: do not delete nonexistent window
Rémi Denis-Courmont
git at videolan.org
Sun May 20 19:51:32 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed May 16 22:01:58 2018 +0300| [f435ed4f92cd560ae49cf5b0b2b2810e4d063264] | committer: Rémi Denis-Courmont
mmal: do not delete nonexistent window
The code checks that there is no window earlier.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f435ed4f92cd560ae49cf5b0b2b2810e4d063264
---
modules/hw/mmal/vout.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/modules/hw/mmal/vout.c b/modules/hw/mmal/vout.c
index b8a0a5e7e9..be884b9aa2 100644
--- a/modules/hw/mmal/vout.c
+++ b/modules/hw/mmal/vout.c
@@ -314,8 +314,6 @@ static int Open(vlc_object_t *object)
sys->dmx_handle = vc_dispmanx_display_open(0);
vd->info.subpicture_chromas = subpicture_chromas;
- vout_display_DeleteWindow(vd, NULL);
-
out:
if (ret != VLC_SUCCESS)
Close(object);
More information about the vlc-commits
mailing list