[vlc-commits] vout_macosx: always set forced window size for the window provider

David Fuhrmann git at videolan.org
Thu Apr 24 21:03:43 CEST 2014


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Apr 24 20:46:56 2014 +0200| [9671dce46b6c4337ee2982cfe5cacbda2bc6f445] | committer: David Fuhrmann

vout_macosx: always set forced window size for the window provider

Also fixes bug for retina displays where events got missed because
stored value is the pixel value, but new one is the point value.
(close #10743)

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

 modules/video_output/macosx.m |    2 --
 1 file changed, 2 deletions(-)

diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 69e2788..0139204 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -366,8 +366,6 @@ static int Control (vout_display_t *vd, int query, va_list ap)
             }
 
             if (query == VOUT_DISPLAY_CHANGE_DISPLAY_SIZE && is_forced
-                && (cfg->display.width != vd->cfg->display.width
-                    || cfg->display.height != vd->cfg->display.height)
                 && vout_window_SetSize (sys->embed, cfg->display.width, cfg->display.height)) {
                 [o_pool release];
                 return VLC_EGENERIC;



More information about the vlc-commits mailing list