summaryrefslogtreecommitdiffstats
path: root/video/out/vo.h
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2015-02-13 15:22:53 +0100
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2015-02-13 20:39:53 +0100
commit3931544ef33196e1966c416cc0d60d4160cf27fb (patch)
treed1c3bf1ebc7fc1a71a32f3194cc59906befdb1f3 /video/out/vo.h
parent9e14042e575435e94da660823d14aa6a6b6cb668 (diff)
downloadmpv-3931544ef33196e1966c416cc0d60d4160cf27fb.tar.bz2
mpv-3931544ef33196e1966c416cc0d60d4160cf27fb.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.
Diffstat (limited to 'video/out/vo.h')
-rw-r--r--video/out/vo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h
index 9be92ac482..a531744c49 100644
--- a/video/out/vo.h
+++ b/video/out/vo.h
@@ -155,6 +155,7 @@ struct vo_extra {
struct frame_timing {
int64_t pts;
int64_t next_vsync;
+ int64_t prev_vsync;
};
struct vo_driver {