[vlc-commits] input: turn the hardcoded interface/stat update period into a CLOCK_FREQ based value
Steve Lhomme
git at videolan.org
Sat May 5 18:10:28 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | 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 <remi at remlab.net>
> 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;
}
}
More information about the vlc-commits
mailing list