0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

command: fix switching tracks backwards if there's only one track

This remained stuck at no selection.
This commit is contained in:
wm4 2013-07-21 18:06:52 +02:00
parent ba1dc085bc
commit 4fa6975a76

View File

@ -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;
}
}