diff options
author | wm4 <wm4@nowhere> | 2015-07-03 19:34:33 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-07-03 19:35:39 +0200 |
commit | 31f2cd03d07cbf73264cd5538813e976d67ab3f4 (patch) | |
tree | 92eaa3225bb546f7d302bf2643d179853c44569a /video/out/vo.c | |
parent | fc79fd0474494f40a7c86df1e6e9448c61a56a6d (diff) | |
download | mpv-31f2cd03d07cbf73264cd5538813e976d67ab3f4.tar.bz2 mpv-31f2cd03d07cbf73264cd5538813e976d67ab3f4.tar.xz |
vo: set correct frame parameters on redraw
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index 0df1c6d5c9..38bb739046 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -756,8 +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; + frame->pts = 0; + frame->duration = -1; pthread_mutex_unlock(&in->lock); if (vo->driver->draw_frame) { |