vlc | branch: master | Steve Lhomme <[email protected]> | Sat May 5 10:00:29 2018 +0200| [1f6d079cb6d3c78236949c634677c1096d63e87e] | committer: Rémi Denis-Courmont
input: turn the hardcoded interface/stat update period into a CLOCK_FREQ based value Signed-off-by: Rémi Denis-Courmont <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f6d079cb6d3c78236949c634677c1096d63e87e --- src/input/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input.c b/src/input/input.c index fbdb67d4ac..a82b1fc761 100644 --- a/src/input/input.c +++ b/src/input/input.c @@ -756,7 +756,7 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive ) if( now >= i_intf_update ) { MainLoopStatistics( p_input ); - i_intf_update = now + INT64_C(250000); + i_intf_update = now + CLOCK_FREQ/4; } } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
