summaryrefslogtreecommitdiffstats
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-rw-r--r--command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/command.c b/command.c
index b1483f787b..ee12175750 100644
--- a/command.c
+++ b/command.c
@@ -1342,6 +1342,9 @@ static int mp_property_sub(m_option_t * prop, int action, void *arg,
else if (ass_enabled && sh->type == 'a')
ass_track = sh->ass_track;
#endif
+ } else {
+ d_sub->id = -2;
+ d_sub->sh = NULL;
}
}
}