[vlc-commits] wave: use secf to tick functions for conversion
Steve Lhomme
git at videolan.org
Thu Jul 5 16:17:10 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 14 14:02:25 2018 +0200| [64872cfa620c2ee12180f4d5823feece02523b7b] | committer: Steve Lhomme
wave: use secf to tick functions for conversion
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=64872cfa620c2ee12180f4d5823feece02523b7b
---
modules/video_filter/wave.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_filter/wave.c b/modules/video_filter/wave.c
index 3c8be15f71..d6f4c32dde 100644
--- a/modules/video_filter/wave.c
+++ b/modules/video_filter/wave.c
@@ -123,7 +123,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
filter_sys_t *p_sys = p_filter->p_sys;
- p_sys->f_angle += (new_date - p_sys->last_date) / 200000.0;
+ p_sys->f_angle += 5.0f * secf_from_vlc_tick(new_date - p_sys->last_date);
p_sys->last_date = new_date;
f_angle = p_sys->f_angle;
More information about the vlc-commits
mailing list