[vlc-commits] blendbench: use secf to tick functions for conversion

Steve Lhomme git at videolan.org
Thu Jul 5 16:17:11 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 14 15:27:58 2018 +0200| [2088ddaf2387da13b85f09d3800d215ca61f28bf] | committer: Steve Lhomme

blendbench: use secf to tick functions for conversion

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2088ddaf2387da13b85f09d3800d215ca61f28bf
---

 modules/video_filter/blendbench.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/blendbench.c b/modules/video_filter/blendbench.c
index a9ae8086bc..ea7eeb1a0d 100644
--- a/modules/video_filter/blendbench.c
+++ b/modules/video_filter/blendbench.c
@@ -261,7 +261,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
     time = vlc_tick_now() - time;
 
     msg_Info( p_filter, "Blended %d images in %f sec", p_sys->i_loops,
-              time / (float)CLOCK_FREQ );
+              secf_from_vlc_tick(time) );
     msg_Info( p_filter, "Speed is: %f images/second, %f pixels/second",
               (float) p_sys->i_loops / time * CLOCK_FREQ,
               (float) p_sys->i_loops / time * CLOCK_FREQ *



More information about the vlc-commits mailing list