[vlc-devel] commit: RC: make fastforward actually go faster ( Rémi Denis-Courmont )

git version control git at videolan.org
Mon Nov 23 17:50:57 CET 2009


vlc | branch: 1.0-bugfix | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov 23 18:50:44 2009 +0200| [0201453e065be0f0ecf1c7f49b38a3b3de786fe4] | committer: Rémi Denis-Courmont 

RC: make fastforward actually go faster

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

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

diff --git a/modules/control/rc.c b/modules/control/rc.c
index f34a85c..6363ed8 100644
--- a/modules/control/rc.c
+++ b/modules/control/rc.c
@@ -1085,7 +1085,7 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
         if( var_GetBool( p_input, "can-rate" ) )
         {
             int i_rate = var_GetInteger( p_input, "rate" );
-            i_rate = (i_rate < 0) ? -i_rate : i_rate * 2;
+            i_rate = (i_rate < 0) ? -i_rate : i_rate / 2;
             var_SetInteger( p_input, "rate", i_rate );
         }
         else




More information about the vlc-devel mailing list