[vlc-commits] hotkeys: the jump value is not an vlc_tick_t but a number of seconds

Steve Lhomme git at videolan.org
Thu Sep 20 12:44:01 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu May 31 14:37:39 2018 +0200| [020df32e5b3679d99eca09904d93ecaf7a913177] | committer: Steve Lhomme

hotkeys: the jump value is not an vlc_tick_t but a number of seconds

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

 modules/control/hotkeys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/control/hotkeys.c b/modules/control/hotkeys.c
index b4a323c29b..c1cd021a78 100644
--- a/modules/control/hotkeys.c
+++ b/modules/control/hotkeys.c
@@ -978,7 +978,7 @@ static int PutAction( intf_thread_t *p_intf, input_thread_t *p_input,
                     break;
             }
 
-            vlc_tick_t it = var_InheritInteger( p_input, varname );
+            int it = var_InheritInteger( p_input, varname );
             if( it < 0 )
                 break;
             var_SetInteger( p_input, "time-offset", vlc_tick_from_sec( it * sign ) );



More information about the vlc-commits mailing list