vlc | branch: master | David Fuhrmann <[email protected]> | 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 );
         }

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to