diff options
author | wm4 <wm4@nowhere> | 2014-11-26 18:22:57 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-11-26 18:22:57 +0100 |
commit | 46dc5709c846c656d8d22f8e66eccbd8ab9f98f8 (patch) | |
tree | 5bbe2490bc235ac80472642488d9e7ae79a86555 /video/out/gl_video.c | |
parent | 67f775bfbbb1d6c3094534e9d4956e3e847b491a (diff) | |
download | mpv-46dc5709c846c656d8d22f8e66eccbd8ab9f98f8.tar.bz2 mpv-46dc5709c846c656d8d22f8e66eccbd8ab9f98f8.tar.xz |
vo_opengl: something
Insert explanation here.
Fixes #1023.
Diffstat (limited to 'video/out/gl_video.c')
-rw-r--r-- | video/out/gl_video.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |