diff options
author | wm4 <wm4@nowhere> | 2014-10-10 15:14:11 +0200 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2014-10-15 15:15:53 +0200 |
commit | 4a0e50d2a6286489014c90d3bd98d9bdb8cbeff0 (patch) | |
tree | c2e46d801b7d953c9bfdd8f181e4a0a2854f0fad /player/playloop.c | |
parent | a6eb0714fa25f083959491abf631549deb51047a (diff) | |
download | mpv-4a0e50d2a6286489014c90d3bd98d9bdb8cbeff0.tar.bz2 mpv-4a0e50d2a6286489014c90d3bd98d9bdb8cbeff0.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 e702f1359d..59ee98ba55 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -748,7 +748,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); } |