summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index a3da05a5c7..3d15d96676 100644
--- a/player/command.c
+++ b/player/command.c
@@ -1009,7 +1009,7 @@ static int property_switch_track(m_option_t *prop, int action, void *arg,
{
if (!mpctx->num_sources)
return M_PROPERTY_UNAVAILABLE;
- struct track *track = mpctx->current_track[type];
+ struct track *track = mpctx->current_track[0][type];
switch (action) {
case M_PROPERTY_GET: