video: add an option to tune waiting for video timing

Probably mostly useful for the libmpv render API.
This commit is contained in:
wm4
2018-03-13 11:23:23 +01:00
committed by Kevin Mitchell
parent 9ca1a1b068
commit 2c572e2bb1
6 changed files with 50 additions and 2 deletions

View File

@@ -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)