[vlc-commits] Fix OSD when auto-scaling

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


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

Fix OSD when auto-scaling

Close #6423
(cherry picked from commit 36641267bcfd98f26eaa0ae98ba7ac5d80d4184b)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=8ff53dcc0ae507cdbc29e6349fc2c2f03b64abb2
---

 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