diff options
author | wm4 <wm4@nowhere> | 2015-03-04 17:21:05 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-04 17:31:36 +0100 |
commit | e35da1ac020f1ee67901aa32befc7c7976b737db (patch) | |
tree | 828e5ba95b523428c623108e8d1fb46d161d7e53 /player/video.c | |
parent | 5c49fe97cba11bf6cd58b6e18577dbf8095a5222 (diff) | |
download | mpv-e35da1ac020f1ee67901aa32befc7c7976b737db.tar.bz2 mpv-e35da1ac020f1ee67901aa32befc7c7976b737db.tar.xz |
player: use symbolic constant for seek precision
Meh.
Diffstat (limited to 'player/video.c')
-rw-r--r-- | player/video.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/player/video.c b/player/video.c index e905583edb..53404a2a20 100644 --- a/player/video.c +++ b/player/video.c @@ -348,8 +348,10 @@ void mp_force_video_refresh(struct MPContext *mpctx) return; // If not paused, the next frame should come soon enough. - if (opts->pause && mpctx->last_vo_pts != MP_NOPTS_VALUE) - queue_seek(mpctx, MPSEEK_ABSOLUTE, mpctx->last_vo_pts, 2, true); + if (opts->pause && mpctx->last_vo_pts != MP_NOPTS_VALUE) { + queue_seek(mpctx, MPSEEK_ABSOLUTE, mpctx->last_vo_pts, + MPSEEK_VERY_EXACT, true); + } } static int check_framedrop(struct MPContext *mpctx) |