summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-04-09 14:37:37 +0200
committerwm4 <wm4@nowhere>2015-04-09 14:37:37 +0200
commitdb7d56b19f24d2e1bc7fe989aae78b0d5ee828a3 (patch)
treea1d0de102606d183e2810af5685f29ff4b7816f4 /video
parent7a65c44922d5be4a67be4e4c3f4fd47cb06c5e00 (diff)
downloadmpv-db7d56b19f24d2e1bc7fe989aae78b0d5ee828a3.tar.bz2
mpv-db7d56b19f24d2e1bc7fe989aae78b0d5ee828a3.tar.xz
vo_opengl: remove unused function
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_video.c5
-rw-r--r--video/out/gl_video.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index e5320fc184..3a6cb9ca62 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -2612,11 +2612,6 @@ void gl_video_set_options(struct gl_video *p, struct gl_video_opts *opts,
uninit_rendering(p);
}
-void gl_video_get_colorspace(struct gl_video *p, struct mp_image_params *params)
-{
- *params = p->image_params; // supports everything
-}
-
struct mp_csp_equalizer *gl_video_eq_ptr(struct gl_video *p)
{
return &p->video_eq;
diff --git a/video/out/gl_video.h b/video/out/gl_video.h
index d28473d58f..30647153b5 100644
--- a/video/out/gl_video.h
+++ b/video/out/gl_video.h
@@ -89,7 +89,6 @@ void gl_video_render_frame(struct gl_video *p, int fbo, struct frame_timing *t);
void gl_video_resize(struct gl_video *p, int vp_w, int vp_h,
struct mp_rect *src, struct mp_rect *dst,
struct mp_osd_res *osd);
-void gl_video_get_colorspace(struct gl_video *p, struct mp_image_params *params);
struct mp_csp_equalizer;
struct mp_csp_equalizer *gl_video_eq_ptr(struct gl_video *p);
void gl_video_eq_update(struct gl_video *p);