summaryrefslogtreecommitdiffstats
path: root/player/video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-10 15:14:11 +0200
committerwm4 <wm4@nowhere>2014-10-10 15:14:11 +0200
commit299bf5c017d90536911eb2b9f91b06f94dbc268c (patch)
treeb342f581aeb5fe5537676d461c79a980e146d838 /player/video.c
parent4758866a1821efb6fa022b7bde45fabbe6cbdd58 (diff)
downloadmpv-299bf5c017d90536911eb2b9f91b06f94dbc268c.tar.bz2
mpv-299bf5c017d90536911eb2b9f91b06f94dbc268c.tar.xz
player: signal EOF when using --frames
Diffstat (limited to 'player/video.c')
-rw-r--r--player/video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/video.c b/player/video.c
index bc80404341..431eb73d6e 100644
--- a/player/video.c
+++ b/player/video.c
@@ -823,7 +823,7 @@ void write_video(struct MPContext *mpctx, double endpts)
pause_player(mpctx);
}
if (mpctx->max_frames == 0)
- mpctx->stop_play = PT_NEXT_ENTRY;
+ mpctx->stop_play = AT_END_OF_FILE;
if (mpctx->max_frames > 0)
mpctx->max_frames--;
}