mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 12:55:16 +00:00
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:
parent
273565c525
commit
900c2e9f78
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user