mirror of https://code.videolan.org/videolan/vlc
oldrc: the value read from atoi is in seconds not mtime_t
This commit is contained in:
parent
709125ac19
commit
5bb86a0cb4
|
@ -983,7 +983,7 @@ static int Input( vlc_object_t *p_this, char const *psz_cmd,
|
|||
}
|
||||
else
|
||||
{
|
||||
mtime_t t = atoi( newval.psz_string );
|
||||
int t = atoi( newval.psz_string );
|
||||
var_SetInteger( p_input, "time", CLOCK_FREQ * t );
|
||||
}
|
||||
i_error = VLC_SUCCESS;
|
||||
|
|
Loading…
Reference in New Issue