From ee337b47becac7316eb890355cf73a6818cbd2b9 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 5 Jun 2016 15:00:07 +0200 Subject: vo_opengl_cb: icc-profile-auto does not and will not work In theory we could probably make icc-profile-auto a vo_opengl-specific option, but I won't bother with this. Logging an error is simpler. --- video/out/vo_opengl_cb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'video') diff --git a/video/out/vo_opengl_cb.c b/video/out/vo_opengl_cb.c index 5fcfd380ea..4ac0c96b1e 100644 --- a/video/out/vo_opengl_cb.c +++ b/video/out/vo_opengl_cb.c @@ -278,6 +278,8 @@ int mpv_opengl_cb_draw(mpv_opengl_cb_context *ctx, int fbo, int vp_w, int vp_h) ctx->gl->debug_context = opts->use_gl_debug; gl_video_set_debug(ctx->renderer, opts->use_gl_debug); } + if (gl_video_icc_auto_enabled(ctx->renderer)) + MP_ERR(ctx, "icc-profile-auto is not available with opengl-cb\n"); } ctx->reconfigured = false; ctx->update_new_opts = false; -- cgit v1.2.3