mirror of https://github.com/mpv-player/mpv
command: fix weird stuff
Happens to fix some aspects of some properties (especially reading "option-flags/x" as native value).
This commit is contained in:
parent
23e0682dd4
commit
dbf59abe05
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue