From 91cc0d8cf6a2cf264c243ca3b3e99b5fd4044c29 Mon Sep 17 00:00:00 2001 From: Christoph Heinrich Date: Mon, 20 Feb 2023 04:32:50 +0100 Subject: options: transition options from OPT_FLAG to OPT_BOOL c78482045444c488bb7948305d583a55d17cd236 introduced a bool option type as a replacement for the flag type, but didn't actually transition and remove the flag type because it would have been too much mundane work. --- video/out/gpu/lcms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'video/out/gpu/lcms.c') diff --git a/video/out/gpu/lcms.c b/video/out/gpu/lcms.c index 3df5eba5f2..bbf857d968 100644 --- a/video/out/gpu/lcms.c +++ b/video/out/gpu/lcms.c @@ -491,9 +491,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[]) { - {"use-embedded-icc-profile", OPT_FLAG(use_embedded)}, + {"use-embedded-icc-profile", OPT_BOOL(use_embedded)}, {"icc-profile", OPT_STRING(profile), .flags = M_OPT_FILE}, - {"icc-profile-auto", OPT_FLAG(profile_auto)}, + {"icc-profile-auto", OPT_BOOL(profile_auto)}, {"icc-cache-dir", OPT_STRING(cache_dir), .flags = M_OPT_FILE}, {"icc-intent", OPT_INT(intent)}, {"icc-force-contrast", OPT_CHOICE(contrast, {"no", 0}, {"inf", -1}), -- cgit v1.2.3