summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-12-09 21:51:00 +0100
committerwm4 <wm4@nowhere>2014-12-09 21:55:27 +0100
commit900c2e9f7805c0b8102b6563fda7841378d353a8 (patch)
treeb0f251df455b05971d91fc3998c00ae4f6f9ad0f
parent273565c525f92e62e3cf7e51257d8b5ea8085ba0 (diff)
downloadmpv-900c2e9f7805c0b8102b6563fda7841378d353a8.tar.bz2
mpv-900c2e9f7805c0b8102b6563fda7841378d353a8.tar.xz
player: change interaction between revert_seek and ab-loops
The result isn't quite what I imagined, because the A-point is never marked as a seek point (so you can't jump between A and B), but it's still slightly better than before.
-rw-r--r--player/command.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index 79d9d6350c..851437ca0a 100644
--- a/player/command.c
+++ b/player/command.c
@@ -4627,6 +4627,7 @@ static void command_event(struct MPContext *mpctx, int event, void *arg)
ctx->prev_pts < opts->ab_loop[1] &&
now >= opts->ab_loop[1])
{
+ mark_seek(mpctx);
queue_seek(mpctx, MPSEEK_ABSOLUTE, opts->ab_loop[0], 1, false);
}
}