summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-03-13 11:23:23 +0100
committerKevin Mitchell <kevmitch@gmail.com>2018-03-15 23:13:53 -0700
commit2c572e2bb1cfa4e225a6a1599f5ecdbcf4bf2dc6 (patch)
treed1006df2ce7b6ce598e7617cdb0fff6bb9575f69 /options/m_option.h
parent9ca1a1b0686510d2b6471b36df9d0eea3fcfa3b3 (diff)
downloadmpv-2c572e2bb1cfa4e225a6a1599f5ecdbcf4bf2dc6.tar.bz2
mpv-2c572e2bb1cfa4e225a6a1599f5ecdbcf4bf2dc6.tar.xz
video: add an option to tune waiting for video timing
Probably mostly useful for the libmpv render API.
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/options/m_option.h b/options/m_option.h
index 078e9248b9..2402405cde 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -616,6 +616,9 @@ extern const char m_option_path_separator;
#define OPT_FLOATRANGE(...) \
OPT_RANGE_(float, __VA_ARGS__, .type = &m_option_type_float)
+#define OPT_DOUBLERANGE(...) \
+ OPT_RANGE_(double, __VA_ARGS__, .type = &m_option_type_double)
+
#define OPT_INTPAIR(...) \
OPT_GENERAL_NOTYPE(__VA_ARGS__, .type = &m_option_type_intpair)