From 900c2e9f7805c0b8102b6563fda7841378d353a8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 9 Dec 2014 21:51:00 +0100 Subject: [PATCH] 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. --- player/command.c | 1 + 1 file changed, 1 insertion(+) 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); } }