diff options
author | Philip Sequeira <phsequei@gmail.com> | 2017-11-20 16:18:54 -0500 |
---|---|---|
committer | wm4 <1387750+wm4@users.noreply.github.com> | 2019-09-27 13:19:29 +0200 |
commit | 21a5c416d5de6ef43a5e2c08ba53cb2a8cb59ae2 (patch) | |
tree | 716fd2a0edff21d01e88c95cf8f933a1fa639d49 /video/out/gpu | |
parent | 16d2ddb5050ef56825875476a9a0b545f2462eee (diff) | |
download | mpv-21a5c416d5de6ef43a5e2c08ba53cb2a8cb59ae2.tar.bz2 mpv-21a5c416d5de6ef43a5e2c08ba53cb2a8cb59ae2.tar.xz |
options: add M_OPT_FILE to some more options that take files
Diffstat (limited to 'video/out/gpu')
-rw-r--r-- | video/out/gpu/video.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c index b0c43ef20b..ea47b308d3 100644 --- a/video/out/gpu/video.c +++ b/video/out/gpu/video.c @@ -428,7 +428,7 @@ const struct m_sub_options gl_video_conf = { ({"no", BLEND_SUBS_NO}, {"yes", BLEND_SUBS_YES}, {"video", BLEND_SUBS_VIDEO})), - OPT_PATHLIST("glsl-shaders", user_shaders, 0), + OPT_PATHLIST("glsl-shaders", user_shaders, M_OPT_FILE), OPT_CLI_ALIAS("glsl-shader", "glsl-shaders-append"), OPT_FLAG("deband", deband, 0), OPT_SUBSTRUCT("deband", deband_opts, deband_conf, 0), @@ -436,7 +436,7 @@ const struct m_sub_options gl_video_conf = { OPT_INTRANGE("gpu-tex-pad-x", tex_pad_x, 0, 0, 4096), OPT_INTRANGE("gpu-tex-pad-y", tex_pad_y, 0, 0, 4096), OPT_SUBSTRUCT("", icc_opts, mp_icc_conf, 0), - OPT_STRING("gpu-shader-cache-dir", shader_cache_dir, 0), + OPT_STRING("gpu-shader-cache-dir", shader_cache_dir, M_OPT_FILE), OPT_STRING_VALIDATE("gpu-hwdec-interop", hwdec_interop, 0, ra_hwdec_validate_opt), OPT_REPLACED("opengl-hwdec-interop", "gpu-hwdec-interop"), |