[vlc-commits] mmal/vout: Delete vout window on open

Julian Scheel git at videolan.org
Tue Oct 24 09:44:49 CEST 2017


vlc | branch: master | Julian Scheel <julian at jusst.de> | Mon Oct 23 12:10:57 2017 +0200| [0c6abe2a6efdbbe6c6a8968483cabe97659f2766] | committer: Jean-Baptiste Kempf

mmal/vout: Delete vout window on open

Make sure the vout is not considered to be windows, so that it won't
receive any resize requests.

Signed-off-by: Julian Scheel <julian at jusst.de>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c6abe2a6efdbbe6c6a8968483cabe97659f2766
---

 modules/hw/mmal/vout.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/hw/mmal/vout.c b/modules/hw/mmal/vout.c
index dc5807edd6..76188a457c 100644
--- a/modules/hw/mmal/vout.c
+++ b/modules/hw/mmal/vout.c
@@ -315,6 +315,8 @@ 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