vlc | branch: master | Steve Lhomme <[email protected]> | 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 *

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to