From 577378b82764e28c0450d359f48e71f95b2709fc Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 26 Nov 2014 18:22:57 +0100 Subject: vo_opengl: something Insert explanation here. Fixes #1023. --- video/out/gl_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/gl_video.c b/video/out/gl_video.c index fe3f63ea16..8d8dedebe5 100644 --- a/video/out/gl_video.c +++ b/video/out/gl_video.c @@ -1409,7 +1409,7 @@ static void init_video(struct gl_video *p, const struct mp_image_params *params) p->image_dh = params->d_h; p->image_params = *params; - if (p->is_rgb && (p->opts.srgb || p->use_lut_3d)) { + if (p->is_rgb && (p->opts.srgb || p->use_lut_3d) && !p->hwdec_active) { // If we're opening an RGB source like a png file or similar, // we just sample it using GL_SRGB which treats it as an sRGB source // and pretend it's linear as far as CMS is concerned -- cgit v1.2.3