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.
This commit is contained in:
wm4 2015-08-25 21:48:11 +02:00
parent 6238491688
commit f1778d1f5b
1 changed files with 1 additions and 0 deletions

View File

@ -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,
};