diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2015-02-13 15:22:53 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-02-16 18:09:45 +0900 |
commit | df4d15be7b16f5b83e05dcbca7ccc17567839c1e (patch) | |
tree | 792d15b863db37ff9f00d4d061edaea055151523 /video/out/vo.c | |
parent | cb5adf4d726e19e4966362fdf316892da484fefa (diff) | |
download | mpv-df4d15be7b16f5b83e05dcbca7ccc17567839c1e.tar.bz2 mpv-df4d15be7b16f5b83e05dcbca7ccc17567839c1e.tar.xz |
vo_opengl: fix smoothmotion coefficient calculation
Using prev_pts as the start of the scale was plain wrong. Change it to
prev_vsync.
(cherry picked from commit 3931544ef33196e1966c416cc0d60d4160cf27fb)
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index 10105c35aa..b85b319c3e 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -617,6 +617,7 @@ static bool render_frame(struct vo *vo) struct frame_timing t = (struct frame_timing) { .pts = pts, .next_vsync = next_vsync, + .prev_vsync = prev_vsync, }; vo->driver->draw_image_timed(vo, img, &t); } else { |