diff options
author | Philip Sequeira <phsequei@gmail.com> | 2017-03-05 16:47:36 -0500 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-03-06 15:41:06 +0100 |
commit | a2a5fa454565e7e7ca11721ec9d1935a9fccf168 (patch) | |
tree | 34345f559f7ec858e2178893f5024e7bb87339a3 /video/out/opengl/lcms.c | |
parent | 1245ac1dc527e10c57b40f9c82c652a68904c86e (diff) | |
download | mpv-a2a5fa454565e7e7ca11721ec9d1935a9fccf168.tar.bz2 mpv-a2a5fa454565e7e7ca11721ec9d1935a9fccf168.tar.xz |
options: add M_OPT_FILE to some more file options
(Helps shell completion.)
Diffstat (limited to 'video/out/opengl/lcms.c')
-rw-r--r-- | video/out/opengl/lcms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/lcms.c b/video/out/opengl/lcms.c index 5bd19547f1..cabcb16954 100644 --- a/video/out/opengl/lcms.c +++ b/video/out/opengl/lcms.c @@ -77,9 +77,9 @@ static int validate_3dlut_size_opt(struct mp_log *log, const m_option_t *opt, #define OPT_BASE_STRUCT struct mp_icc_opts const struct m_sub_options mp_icc_conf = { .opts = (const m_option_t[]) { - OPT_STRING("icc-profile", profile, 0), + OPT_STRING("icc-profile", profile, M_OPT_FILE), OPT_FLAG("icc-profile-auto", profile_auto, 0), - OPT_STRING("icc-cache-dir", cache_dir, 0), + OPT_STRING("icc-cache-dir", cache_dir, M_OPT_FILE), OPT_INT("icc-intent", intent, 0), OPT_INTRANGE("icc-contrast", contrast, 0, 0, 100000), OPT_STRING_VALIDATE("icc-3dlut-size", size_str, 0, validate_3dlut_size_opt), |