Browse Source

vlmshell: internal time is in microseconds, not vlc_tick_t

pull/72/head
Steve Lhomme 8 years ago
parent
commit
7ff8ebd2da
  1. 4
      src/input/vlmshell.c

4
src/input/vlmshell.c

@ -425,9 +425,9 @@ static int ExecuteControl( vlm_t *p_vlm, const char *psz_name, const int i_arg,
int64_t i_new_time;
if( strstr( psz_argument, "ms" ) )
i_new_time = 1000 * (int64_t)atoi( psz_argument );
i_new_time = INT64_C(1000) * atoi( psz_argument );
else
i_new_time = vlc_tick_from_sec(atoi( psz_argument ));
i_new_time = INT64_C(1000000) * atoi( psz_argument );
if( b_relative )
{

Loading…
Cancel
Save