diff options
author | wm4 <wm4@nowhere> | 2016-06-05 15:00:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-06-05 15:00:07 +0200 |
commit | ee337b47becac7316eb890355cf73a6818cbd2b9 (patch) | |
tree | 6dc538b8b8e8233e3f2f3e0d1e4835f678196bcc | |
parent | b3a3ed00f0cba9cf08be8a13e9d2a1c1446b0c35 (diff) |
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.
-rw-r--r-- | video/out/vo_opengl_cb.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |