vlc | branch: master | Thomas Guillem <[email protected]> | Wed Nov 7 17:07:12 2018 +0100| [cfd079e163cee5b37052ed6b19cb505791d5efce] | committer: Thomas Guillem
input: remove legacy var dependency Use INPUT_CONTROL_JUMP_TIME instead of "time-offset" callback. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cfd079e163cee5b37052ed6b19cb505791d5efce --- src/input/input.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/input/input.c b/src/input/input.c index 57e029ebb3..7265ac6cd6 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -1827,7 +1827,10 @@ static void ControlNav( input_thread_t *p_input, int i_type ) if( seek_direction != 0 ) { vlc_tick_t it = vlc_tick_from_sec( seek_direction * var_InheritInteger( p_input, "short-jump-size" ) ); - var_SetInteger( p_input, "time-offset", it ); + Control( p_input, INPUT_CONTROL_JUMP_TIME, (input_control_param_t) { + .time.b_fast_seek = false, + .time.i_val = it + }); } else { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
