From 118d4190f125f7cd7048bf92717ed4bd83e36b1b Mon Sep 17 00:00:00 2001 From: Steve Lhomme <robux4@ycbcr.xyz> Date: Thu, 5 Jul 2018 13:56:53 +0200 Subject: [PATCH] vlmshell: convert seconds to ticks using vlc_tick_from_sec() --- src/input/vlmshell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c index 51e6a123254a..1d3549213ea6 100644 --- a/src/input/vlmshell.c +++ b/src/input/vlmshell.c @@ -427,7 +427,7 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg, if( strstr( psz_argument, "ms" ) ) i_new_time = 1000 * (int64_t)atoi( psz_argument ); else - i_new_time = 1000000 * (int64_t)atoi( psz_argument ); + i_new_time = vlc_tick_from_sec(atoi( psz_argument )); if( b_relative ) { -- GitLab