[vlc-commits] Fix OSD when auto-scaling

Jean-Baptiste Kempf git at videolan.org
Tue Mar 20 12:19:39 CET 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Mar 20 12:10:19 2012 +0100| [36641267bcfd98f26eaa0ae98ba7ac5d80d4184b] | committer: Jean-Baptiste Kempf

Fix OSD when auto-scaling

Close #6423

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

 modules/control/hotkeys.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index d606f27..74e74f0 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -573,7 +573,7 @@ static int PutAction( intf_thread_t *p_intf, int i_action )
                 {
                     bool b_autoscale = !var_GetBool( p_vout, "autoscale" );
                     var_SetBool( p_vout, "autoscale", b_autoscale );
-                    if( !b_autoscale )
+                    if( b_autoscale )
                         DisplayMessage( p_vout, SPU_DEFAULT_CHANNEL,
                                         "%s", _("Scaled to screen") );
                     else



More information about the vlc-commits mailing list