summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r--video/out/gl_video.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h
index d0896e671d..1a56d6c1fc 100644
--- a/video/out/gl_video.h
+++ b/video/out/gl_video.h
@@ -66,6 +66,10 @@ struct gl_video_opts {
struct m_color background;
int interpolation;
int blend_subs;
+ char *source_shader;
+ char *scale_shader;
+ char **pre_shaders;
+ char **post_shaders;
};
extern const struct m_sub_options gl_video_conf;
@@ -74,7 +78,7 @@ extern const struct gl_video_opts gl_video_opts_def;
struct gl_video;
-struct gl_video *gl_video_init(GL *gl, struct mp_log *log);
+struct gl_video *gl_video_init(GL *gl, struct mp_log *log, struct mpv_global *g);
void gl_video_uninit(struct gl_video *p);
void gl_video_set_osd_source(struct gl_video *p, struct osd_state *osd);
void gl_video_set_options(struct gl_video *p, struct gl_video_opts *opts,