diff options
author | wm4 <wm4@nowhere> | 2014-11-13 18:00:07 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-13 18:01:27 +0100 |
commit | 5d12a2696e87c9ab5a92e55b01972d543b7661d9 (patch) | |
tree | 4eef361086e965107d45cdbfc71c82e328a2dc69 /options/m_property.h | |
parent | 71168e740e028dc33e22652589b095e870888615 (diff) | |
download | mpv-5d12a2696e87c9ab5a92e55b01972d543b7661d9.tar.bz2 mpv-5d12a2696e87c9ab5a92e55b01972d543b7661d9.tar.xz |
command: export some option metadata
This might be interesting for GUIs and such.
It's probably still a little bit insufficient. For example, the filter
and audio/video output lists are not available through this.
Diffstat (limited to 'options/m_property.h')
-rw-r--r-- | options/m_property.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/m_property.h b/options/m_property.h index b7dbcfb378..0336677f46 100644 --- a/options/m_property.h +++ b/options/m_property.h @@ -189,6 +189,8 @@ struct m_sub_property { .type = {.type = CONF_TYPE_STRING}, .value = {.string = (char *)(s)} #define SUB_PROP_FLOAT(f) \ .type = {.type = CONF_TYPE_FLOAT}, .value = {.float_ = (f)} +#define SUB_PROP_DOUBLE(f) \ + .type = {.type = CONF_TYPE_DOUBLE}, .value = {.double_ = (f)} #define SUB_PROP_FLAG(f) \ .type = {.type = CONF_TYPE_FLAG}, .value = {.flag = (f)} |