mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 13:47:04 +00:00
command: fix switching tracks backwards if there's only one track
This remained stuck at no selection.
This commit is contained in:
parent
ba1dc085bc
commit
4fa6975a76
@ -854,7 +854,8 @@ static struct track* track_next(struct MPContext *mpctx, enum stream_type type,
|
||||
} else {
|
||||
if (seen && !next) {
|
||||
next = cur;
|
||||
} else if (!seen || !track) {
|
||||
}
|
||||
if (!seen || !track) {
|
||||
prev = cur;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user