diff options
author | wm4 <wm4@nowhere> | 2015-07-02 13:03:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-02 13:03:58 +0200 |
commit | 53845d81f5f8933b92a1d03bae91e94c5106334b (patch) | |
tree | a51068709080fa701b128d4c09ed82db6d67f944 /video/out/vo.c | |
parent | dc2b6ab6b7cfe69625bd27eba250113e347953a9 (diff) | |
download | mpv-53845d81f5f8933b92a1d03bae91e94c5106334b.tar.bz2 mpv-53845d81f5f8933b92a1d03bae91e94c5106334b.tar.xz |
vo: reset frame timing when redrawing
bother vo_vdpau.c, which actually uses these times.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index e03134c561..0df1c6d5c9 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -756,6 +756,8 @@ static void do_redraw(struct vo *vo) frame = &dummy; frame->redraw = !full_redraw; // unconditionally redraw if it was dropped frame->still = true; + frame->pts = -1; + frame->duration = 0; pthread_mutex_unlock(&in->lock); if (vo->driver->draw_frame) { |