mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 13:47:04 +00:00
parent
1679222e18
commit
577378b827
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user