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

David Fuhrmann git at videolan.org
Sat Apr 26 16:43:07 CEST 2014


vlc/vlc-2.1 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Thu Apr 24 20:46:56 2014 +0200| [25a6049fff09ae0e55bbaac313202831e202b596] | committer: Felix Paul Kühne

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)

(cherry picked from commit 9671dce46b6c4337ee2982cfe5cacbda2bc6f445)
Signed-off-by: Felix Paul Kühne <fkuehne at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=25a6049fff09ae0e55bbaac313202831e202b596
---

 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 61e994f..45a17c1 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -365,8 +365,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