diff options
author | wm4 <wm4@nowhere> | 2016-04-18 21:32:58 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-04-18 21:33:19 +0200 |
commit | 382bafcb1349855c2871bbe0a813f8493e1bd9f7 (patch) | |
tree | ec030defef7859e8bfcea89f8d347daa3fea716b /player/playloop.c | |
parent | ce153bdb428a47d5e26b84d7a1b757fd5f315c59 (diff) | |
download | mpv-382bafcb1349855c2871bbe0a813f8493e1bd9f7.tar.bz2 mpv-382bafcb1349855c2871bbe0a813f8493e1bd9f7.tar.xz |
player: loop on end of file if ab-loop-b is unset
Possibly slightly more useful/intuitive.
Diffstat (limited to 'player/playloop.c')
-rw-r--r-- | player/playloop.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/player/playloop.c b/player/playloop.c index fcbb86ac04..d6509f8c98 100644 --- a/player/playloop.c +++ b/player/playloop.c @@ -978,6 +978,9 @@ void run_playloop(struct MPContext *mpctx) handle_sstep(mpctx); + if (mpctx->stop_play == AT_END_OF_FILE && mpctx->seek.type) + mpctx->stop_play = KEEP_PLAYING; + if (mpctx->stop_play) return; |