vlc | branch: master | Steve Lhomme <[email protected]> | Wed Jun 13 17:19:44 2018 +0200| [f6326521f2f44d30e5c3d758ab30f6e13722b82a] | committer: Steve Lhomme
cache_read: convert vlc_tick_t to milliseconds using MS_FROM_VLC_TICK() The internal timeout is passed to poll() in milliseconds. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f6326521f2f44d30e5c3d758ab30f6e13722b82a --- modules/stream_filter/cache_read.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/stream_filter/cache_read.c b/modules/stream_filter/cache_read.c index 859529481b..aaf60df6ee 100644 --- a/modules/stream_filter/cache_read.c +++ b/modules/stream_filter/cache_read.c @@ -194,7 +194,7 @@ static void AStreamPrebufferStream(stream_t *s) msg_Dbg(s, "pre-buffering done %"PRId64" bytes in %"PRId64"s - " "%"PRId64" KiB/s", sys->stat.i_bytes, - sys->stat.i_read_time / CLOCK_FREQ, i_byterate / 1024); + SEC_FROM_VLC_TICK(sys->stat.i_read_time), i_byterate / 1024); break; } @@ -209,7 +209,7 @@ static void AStreamPrebufferStream(stream_t *s) if (first) { msg_Dbg(s, "received first data after %"PRId64" ms", - (vlc_tick_now() - start) / 1000); + MS_FROM_VLC_TICK(vlc_tick_now() - start)); first = false; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
