diff options
author | wm4 <wm4@nowhere> | 2013-12-22 18:42:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-22 18:42:19 +0100 |
commit | 79b09592c8a1eb348361c84e2c3835f42e35a224 (patch) | |
tree | 19598380256c53a5406e875556ae2fc73b00bff5 /video/out/vo.c | |
parent | 895932aa0a33a71b49b4668b5bed884d0ebf39e4 (diff) | |
download | mpv-79b09592c8a1eb348361c84e2c3835f42e35a224.tar.bz2 mpv-79b09592c8a1eb348361c84e2c3835f42e35a224.tar.xz |
vo_vdpau: fix unintended truncation of 64 bit timestamps to 32 bit
How embarrassing...
This code is inactive for all VOs other than vo_vdpau. For vo_vdpau,
this caused various issues, such as stuttering after about an hour of
running mpv; see github issue #403.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index 9a98ebafb6..99efc9eec9 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -262,7 +262,7 @@ void vo_draw_osd(struct vo *vo, struct osd_state *osd) vo->driver->draw_osd(vo, osd); } -void vo_flip_page(struct vo *vo, unsigned int pts_us, int duration) +void vo_flip_page(struct vo *vo, int64_t pts_us, int duration) { if (!vo->config_ok) return; |