diff options
Diffstat (limited to 'video/out')
-rw-r--r-- | video/out/opengl/lcms.c | 4 | ||||
-rw-r--r-- | video/out/opengl/video.c | 2 | ||||
-rw-r--r-- | video/out/vo_image.c | 2 |
3 files changed, 4 insertions, 4 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), diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c index 3a19858953..a9ee6ea503 100644 --- a/video/out/opengl/video.c +++ b/video/out/opengl/video.c @@ -380,7 +380,7 @@ const struct m_sub_options gl_video_conf = { ({"no", BLEND_SUBS_NO}, {"yes", BLEND_SUBS_YES}, {"video", BLEND_SUBS_VIDEO})), - OPT_STRINGLIST("opengl-shaders", user_shaders, 0), + OPT_STRINGLIST("opengl-shaders", user_shaders, M_OPT_FILE), OPT_FLAG("deband", deband, 0), OPT_SUBSTRUCT("deband", deband_opts, deband_conf, 0), OPT_FLOAT("sharpen", unsharp, 0), diff --git a/video/out/vo_image.c b/video/out/vo_image.c index e1bc1aab20..fd3efde253 100644 --- a/video/out/vo_image.c +++ b/video/out/vo_image.c @@ -57,7 +57,7 @@ struct vo_image_opts { static const struct m_sub_options vo_image_conf = { .opts = (const struct m_option[]) { OPT_SUBSTRUCT("vo-image", opts, image_writer_conf, 0), - OPT_STRING("vo-image-outdir", outdir, 0), + OPT_STRING("vo-image-outdir", outdir, M_OPT_FILE), {0}, }, .size = sizeof(struct vo_image_opts), |