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.
This commit is contained in:
wm4 2014-12-09 21:51:00 +01:00
parent 273565c525
commit 900c2e9f78
1 changed files with 1 additions and 0 deletions

View File

@ -4627,6 +4627,7 @@ static void command_event(struct MPContext *mpctx, int event, void *arg)
ctx->prev_pts < opts->ab_loop[1] && ctx->prev_pts < opts->ab_loop[1] &&
now >= opts->ab_loop[1]) now >= opts->ab_loop[1])
{ {
mark_seek(mpctx);
queue_seek(mpctx, MPSEEK_ABSOLUTE, opts->ab_loop[0], 1, false); queue_seek(mpctx, MPSEEK_ABSOLUTE, opts->ab_loop[0], 1, false);
} }
} }