diff options
author | wm4 <wm4@nowhere> | 2014-10-10 15:14:11 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-10-10 15:14:11 +0200 |
commit | 299bf5c017d90536911eb2b9f91b06f94dbc268c (patch) | |
tree | b342f581aeb5fe5537676d461c79a980e146d838 /player/playloop.c | |
parent | 4758866a1821efb6fa022b7bde45fabbe6cbdd58 (diff) | |
download | mpv-299bf5c017d90536911eb2b9f91b06f94dbc268c.tar.bz2 mpv-299bf5c017d90536911eb2b9f91b06f94dbc268c.tar.xz |
player: signal EOF when using --frames
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/playloop.c b/player/playloop.c index ea1a0e26be..3f53a47377 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -765,7 +765,7 @@ static void handle_sstep(struct MPContext *mpctx) if (mpctx->video_status >= STATUS_EOF) { if (mpctx->max_frames >= 0) - mpctx->stop_play = PT_NEXT_ENTRY; + mpctx->stop_play = AT_END_OF_FILE; if (mpctx->step_frames > 0 && !mpctx->paused) pause_player(mpctx); } |