[vlc-commits] ripple: use secf to tick functions for conversion
Steve Lhomme
git at videolan.org
Thu Jul 5 16:17:09 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jun 14 14:01:54 2018 +0200| [8e143e4248eec2c4d65e3872c74279b13e573d12] | committer: Steve Lhomme
ripple: use secf to tick functions for conversion
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8e143e4248eec2c4d65e3872c74279b13e573d12
---
modules/video_filter/ripple.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_filter/ripple.c b/modules/video_filter/ripple.c
index 5b83686287..1367162e7c 100644
--- a/modules/video_filter/ripple.c
+++ b/modules/video_filter/ripple.c
@@ -134,7 +134,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 -= (p_sys->last_date - new_date) / 100000.0;
+ p_sys->f_angle -= 10.0f * secf_from_vlc_tick(p_sys->last_date - new_date);
p_sys->last_date = new_date;
f_angle = p_sys->f_angle;
More information about the vlc-commits
mailing list