diff options
author | wm4 <wm4@nowhere> | 2014-08-13 21:50:01 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-08-13 21:50:01 +0200 |
commit | 010b86fd3469a10228ad6d5aebf2c4c940d332aa (patch) | |
tree | 9e511e332a2e8c04a44c106af36fc0e1b24f6247 /player | |
parent | 2607d6e41997e4420894531c6f523c92e7e6d195 (diff) | |
download | mpv-010b86fd3469a10228ad6d5aebf2c4c940d332aa.tar.bz2 mpv-010b86fd3469a10228ad6d5aebf2c4c940d332aa.tar.xz |
player: don't quit with --loop-file
Fixes #1009.
CC: @mpv-player/stable
Diffstat (limited to 'player')
-rw-r--r-- | player/playloop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/player/playloop.c b/player/playloop.c index b21f1ae0e8..ae875f380a 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -733,6 +733,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); } |