[vlc-commits] player: osd: fix zoom

Victorien Le Couviour--Tuffet git at videolan.org
Tue Nov 27 13:16:12 CET 2018


vlc | branch: master | Victorien Le Couviour--Tuffet <victorien.lecouviour.tuffet at gmail.com> | Wed Nov 21 15:46:18 2018 +0100| [cba1a3e9c0364dfff3586e2863aaa46c21c6957e] | committer: Thomas Guillem

player: osd: fix zoom

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

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

 src/input/player.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/input/player.c b/src/input/player.c
index 82b74f2aaa..60f62c3e3a 100644
--- a/src/input/player.c
+++ b/src/input/player.c
@@ -3301,11 +3301,10 @@ vlc_player_VoutOSDCallback(vlc_object_t *this, const char *var,
             vouts_osd_Message(&vout, 1, _("Zooming reset"));
         else
         {
-            char const *fmt = _("Zoom: x%f");
             bool found =  vout_osd_PrintVariableText(vout, var, VLC_VAR_FLOAT,
-                                                     newval, fmt);
+                                                     newval, _("Zoom mode: %s"));
             if (!found)
-                vouts_osd_Message(&vout, 1, fmt, newval.f_float);
+                vouts_osd_Message(&vout, 1, _("Zoom: x%f"), newval.f_float);
         }
     }
 



More information about the vlc-commits mailing list