vo_gpu: use fallback colorspace for Dolby Vision

This commit is contained in:
nanahi 2024-08-31 15:10:27 -04:00 committed by Kacper Michajłow
parent 14d3a8ed28
commit 2a72e6cb20
1 changed files with 3 additions and 1 deletions

View File

@ -123,7 +123,9 @@ static int reconfig(struct vo *vo, struct mp_image_params *params)
return -1;
resize(vo);
gl_video_config(p->renderer, params);
struct mp_image_params fallback_params = *params;
mp_image_params_restore_dovi_mapping(&fallback_params);
gl_video_config(p->renderer, &fallback_params);
return 0;
}