summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-07-02 16:26:41 +0200
committerwm4 <wm4@nowhere>2017-07-02 16:29:45 +0200
commite4bc563fd2dcff1059624efb7b948b2886a382ab (patch)
tree272d96d980aca685e92083f3097c7eed418e4860 /video/out
parentd24f4587a7cb85e559b06d7a191bb28bbdbf52ad (diff)
downloadmpv-e4bc563fd2dcff1059624efb7b948b2886a382ab.tar.bz2
mpv-e4bc563fd2dcff1059624efb7b948b2886a382ab.tar.xz
options: change everything again
Fucking bullshit.
Diffstat (limited to 'video/out')
-rw-r--r--video/out/opengl/video.c8
-rw-r--r--video/out/opengl/video.h1
2 files changed, 2 insertions, 7 deletions
diff --git a/video/out/opengl/video.c b/video/out/opengl/video.c
index 772d988fac..41ddf84722 100644
--- a/video/out/opengl/video.c
+++ b/video/out/opengl/video.c
@@ -395,9 +395,8 @@ 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_old, M_OPT_FILE,
- .deprecation_message = "use --opengl-shader (1 for each file)"),
- OPT_PATHLIST("opengl-shader", user_shaders, 0),
+ OPT_PATHLIST("opengl-shaders", user_shaders, 0),
+ OPT_CLI_ALIAS("opengl-shader", "opengl-shaders-append"),
OPT_FLAG("deband", deband, 0),
OPT_SUBSTRUCT("deband", deband_opts, deband_conf, 0),
OPT_FLOAT("sharpen", unsharp, 0),
@@ -1769,7 +1768,6 @@ static void gl_video_setup_hooks(struct gl_video *p)
});
}
- pass_hook_user_shaders(p, p->opts.user_shaders_old);
pass_hook_user_shaders(p, p->opts.user_shaders);
}
@@ -3127,8 +3125,6 @@ static bool check_dumb_mode(struct gl_video *p)
return false;
}
}
- if (o->user_shaders_old && o->user_shaders_old[0])
- return false;
if (o->user_shaders && o->user_shaders[0])
return false;
if (p->use_lut_3d)
diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h
index 8526cecb84..6c41e70b1e 100644
--- a/video/out/opengl/video.h
+++ b/video/out/opengl/video.h
@@ -128,7 +128,6 @@ struct gl_video_opts {
int interpolation;
float interpolation_threshold;
int blend_subs;
- char **user_shaders_old;
char **user_shaders;
int deband;
struct deband_opts *deband_opts;