diff options
author | wm4 <wm4@nowhere> | 2015-08-25 21:48:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-08-25 21:48:11 +0200 |
commit | f1778d1f5bd35487e53db4b1a3c754db2bad7803 (patch) | |
tree | e8c53a902533aa345521370cc297cb342b55482a /player/video.c | |
parent | 6238491688791a23b333c8450fa910fd5a71ac56 (diff) | |
download | mpv-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.
Diffstat (limited to 'player/video.c')
-rw-r--r-- | player/video.c | 1 |
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, }; |