mirror of https://github.com/mpv-player/mpv
vo_libmpv: use fallback colorspace for Dolby Vision
Same as 2a72e6cb20
for libmpv.
This commit is contained in:
parent
afdbbac81d
commit
1f33889c03
|
@ -124,7 +124,9 @@ static void reconfig(struct render_backend *ctx, struct mp_image_params *params)
|
|||
{
|
||||
struct priv *p = ctx->priv;
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
static void reset(struct render_backend *ctx)
|
||||
|
|
Loading…
Reference in New Issue