diff options
author | wm4 <wm4@nowhere> | 2014-11-08 10:19:17 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-08 10:19:17 +0100 |
commit | 64f6e88c454d4c63b3bc45cf5f7d01d5006e67f0 (patch) | |
tree | 13aeba8dcd5d5aee598d97143592cdd36236bf06 /player | |
parent | f5c2e3d6e2372546c46dd32ceab1a5c41e19465b (diff) | |
download | mpv-64f6e88c454d4c63b3bc45cf5f7d01d5006e67f0.tar.bz2 mpv-64f6e88c454d4c63b3bc45cf5f7d01d5006e67f0.tar.xz |
command: fix option-flags property
The sub-path wasn't adjusted, and it worked only in some situations.
Diffstat (limited to 'player')
-rw-r--r-- | player/command.c | 4 |
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; |