[vlc-commits] macosx: do not abuse "autoscale" to implement a fit to screen feature

David Fuhrmann git at videolan.org
Wed Mar 21 17:56:51 CET 2012


vlc | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Wed Mar 21 17:11:53 2012 +0100| [3646cf4340c3cb25b23fbb2e7376dc86424f04ae] | committer: David Fuhrmann

macosx: do not abuse "autoscale" to implement a fit to screen feature

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

 modules/gui/macosx/MainMenu.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/macosx/MainMenu.m b/modules/gui/macosx/MainMenu.m
index 55cb972..f1a5b2e 100644
--- a/modules/gui/macosx/MainMenu.m
+++ b/modules/gui/macosx/MainMenu.m
@@ -632,7 +632,7 @@ static VLCMainMenu *_o_sharedInstance = nil;
                 var_SetFloat( p_vout, "zoom", 2.0 );
             else
             {
-                var_ToggleBool( p_vout, "autoscale" );
+                [[[[[VLCMain sharedInstance] mainWindow] videoView] window] performZoom:sender];
             }
             vlc_object_release( p_vout );
         }



More information about the vlc-commits mailing list