diff options
author | wm4 <wm4@nowhere> | 2014-11-13 17:25:04 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-13 17:25:04 +0100 |
commit | dbf59abe0525ad38dac369af248ad735ef66cfe8 (patch) | |
tree | e13dc6c03f8f9d79b675ac6b47a16762d63d50fa /options/m_property.c | |
parent | 23e0682dd4e0bf61a45d9c907ede2361dac28f5e (diff) | |
download | mpv-dbf59abe0525ad38dac369af248ad735ef66cfe8.tar.bz2 mpv-dbf59abe0525ad38dac369af248ad735ef66cfe8.tar.xz |
command: fix weird stuff
Happens to fix some aspects of some properties (especially reading
"option-flags/x" as native value).
Diffstat (limited to 'options/m_property.c')
-rw-r--r-- | options/m_property.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/options/m_property.c b/options/m_property.c index b5f9025617..1beaf83402 100644 --- a/options/m_property.c +++ b/options/m_property.c @@ -461,6 +461,7 @@ int m_property_strdup_ro(int action, void* arg, const char *var) // This does not support write access. int m_property_read_sub(const struct m_sub_property *props, int action, void *arg) { + m_property_unkey(&action, &arg); switch (action) { case M_PROPERTY_GET_TYPE: *(struct m_option *)arg = (struct m_option){.type = CONF_TYPE_NODE}; |