diff options
author | wm4 <wm4@nowhere> | 2017-10-21 21:13:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-21 21:13:53 +0200 |
commit | 60df01512cf88d51b6334c95dab72de734f136fd (patch) | |
tree | b3fffa31fad74494d49d2fd33284e9ae3af75fd1 /options/m_property.h | |
parent | 633077814ed32a6dd5d09be79688df0e1062b91b (diff) | |
download | mpv-60df01512cf88d51b6334c95dab72de734f136fd.tar.bz2 mpv-60df01512cf88d51b6334c95dab72de734f136fd.tar.xz |
command: read the diff if you want to know
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 35d704ad97..d71ec033aa 100644 --- a/options/m_property.h +++ b/options/m_property.h @@ -200,6 +200,8 @@ struct m_sub_property { .type = {.type = CONF_TYPE_DOUBLE}, .value = {.double_ = (f)} #define SUB_PROP_FLAG(f) \ .type = {.type = CONF_TYPE_FLAG}, .value = {.flag = (f)} +#define SUB_PROP_PTS(f) \ + .type = {.type = &m_option_type_time}, .value = {.double_ = (f)} int m_property_read_sub(const struct m_sub_property *props, int action, void *arg); |