summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-09-24 01:31:45 +0200
committerwm4 <wm4@nowhere>2014-09-24 01:31:45 +0200
commite12fae8ef5778c960bba835b5603bd5d1bc08025 (patch)
treea2b2baf66387cf34df0d3ef4e162b8158bbff94a
parent7954017b569ca5388f0edf1b5802914a2a236702 (diff)
downloadmpv-e12fae8ef5778c960bba835b5603bd5d1bc08025.tar.bz2
mpv-e12fae8ef5778c960bba835b5603bd5d1bc08025.tar.xz
player: --loop-file takes precedence before --keep-open
-rw-r--r--player/playloop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/player/playloop.c b/player/playloop.c
index b9e35b41eb..e251b32f31 100644
--- a/player/playloop.c
+++ b/player/playloop.c
@@ -938,12 +938,12 @@ void run_playloop(struct MPContext *mpctx)
mp_handle_nav(mpctx);
+ handle_loop_file(mpctx);
+
handle_keep_open(mpctx);
handle_sstep(mpctx);
- handle_loop_file(mpctx);
-
if (mpctx->stop_play)
return;