summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-08-13 21:50:01 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-08-13 23:00:21 +0200
commit51ce5358223beae9901c85b52c62c30efeebedc4 (patch)
treec35fe51f4bbd55ced789b6ad49e69e4269eb01ee
parente33df9b7bc6858ae1f2a5e0c14fe828fa73ddc31 (diff)
downloadmpv-51ce5358223beae9901c85b52c62c30efeebedc4.tar.bz2
mpv-51ce5358223beae9901c85b52c62c30efeebedc4.tar.xz
player: don't quit with --loop-file
Fixes #1009. CC: @mpv-player/stable
-rw-r--r--player/playloop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/playloop.c b/player/playloop.c
index 361b9284af..dad586332a 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -734,6 +734,7 @@ static void handle_loop_file(struct MPContext *mpctx)
{
struct MPOpts *opts = mpctx->opts;
if (opts->loop_file && mpctx->stop_play == AT_END_OF_FILE) {
+ mpctx->stop_play = KEEP_PLAYING;
set_osd_function(mpctx, OSD_FFW);
queue_seek(mpctx, MPSEEK_ABSOLUTE, get_start_time(mpctx), 0, true);
}