diff options
Diffstat (limited to 'm_option.h')
-rw-r--r-- | m_option.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m_option.h b/m_option.h index 123e51005c..48f94781a3 100644 --- a/m_option.h +++ b/m_option.h @@ -499,5 +499,6 @@ static inline void m_option_free(const m_option_t *opt, void *dst) #define OPT_AUDIOFORMAT(optname, varname, flags) {optname, NULL, &m_option_type_afmt, flags, 0, 0, NULL, 1, offsetof(struct MPOpts, varname)} #define OPT_HELPER_REMOVEPAREN(...) __VA_ARGS__ #define OPT_CHOICE(optname, varname, flags, choices) {optname, NULL, &m_option_type_choice, flags, 0, 0, (void *)&(const struct m_opt_choice_alternatives[]){OPT_HELPER_REMOVEPAREN choices, {NULL}}, 1, offsetof(struct MPOpts, varname)} +#define OPT_TIME(optname, varname, flags) {optname, NULL, &m_option_type_time, flags, 0, 0, NULL, 1, offsetof(struct MPOpts, varname)} #endif /* MPLAYER_M_OPTION_H */ |