diff options
-rw-r--r-- | player/playloop.c | 2 | ||||
-rw-r--r-- | player/video.c | 2 |
2 files changed, 2 insertions, 2 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); } diff --git a/player/video.c b/player/video.c index fc56bea72e..3576ff0bc8 100644 --- a/player/video.c +++ b/player/video.c @@ -806,7 +806,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--; } |