summaryrefslogtreecommitdiffstats
path: root/core/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/command.c')
-rw-r--r--core/command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/command.c b/core/command.c
index d57a0976e4..4cf508d5e7 100644
--- a/core/command.c
+++ b/core/command.c
@@ -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;
}
}