summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 198ed64242..01988a8251 100644
--- a/player/command.c
+++ b/player/command.c
@@ -3020,7 +3020,9 @@ static int mp_property_option_flags(void *ctx, struct m_property *prop,
{0}
};
- return m_property_read_sub(props, ka->action, ka->arg);
+ struct m_property_action_arg next_ka = *ka;
+ next_ka.key = rem;
+ return m_property_read_sub(props, M_PROPERTY_KEY_ACTION, &next_ka);
}
}
return M_PROPERTY_NOT_IMPLEMENTED;