[vlc-commits] macosx: do not abuse "autoscale" to implement a fit to screen feature
David Fuhrmann
git at videolan.org
Wed Mar 21 17:59:34 CET 2012
vlc/vlc-2.0 | branch: master | David Fuhrmann <david.fuhrmann at googlemail.com> | Wed Mar 21 17:11:53 2012 +0100| [7d6fc8ee54a74d270dc676a1eb997f31d52fb6df] | committer: David Fuhrmann
macosx: do not abuse "autoscale" to implement a fit to screen feature
(cherry picked from commit 3646cf4340c3cb25b23fbb2e7376dc86424f04ae)
Signed-off-by: David Fuhrmann <david.fuhrmann at googlemail.com>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=7d6fc8ee54a74d270dc676a1eb997f31d52fb6df
---
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