summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-08-25 21:48:11 +0200
committerwm4 <wm4@nowhere>2015-08-25 21:48:11 +0200
commitf1778d1f5bd35487e53db4b1a3c754db2bad7803 (patch)
treee8c53a902533aa345521370cc297cb342b55482a
parent6238491688791a23b333c8450fa910fd5a71ac56 (diff)
downloadmpv-f1778d1f5bd35487e53db4b1a3c754db2bad7803.tar.bz2
mpv-f1778d1f5bd35487e53db4b1a3c754db2bad7803.tar.xz
video: disable interpolation during framestepping
It just causes annoying artifacts. Interestingly, this means keeping down the frame stepping key (".") will play video with interpolation disabled.
-rw-r--r--player/video.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/video.c b/player/video.c
index 2d6f6f5e72..de7e601645 100644
--- a/player/video.c
+++ b/player/video.c
@@ -1157,6 +1157,7 @@ void write_video(struct MPContext *mpctx, double endpts)
struct vo_frame dummy = {
.pts = pts,
.duration = -1,
+ .still = mpctx->step_frames > 0,
.num_frames = mpctx->num_next_frames,
.num_vsyncs = 1,
};