vo_libmpv: use fallback colorspace for Dolby Vision

Same as 2a72e6cb20 for libmpv.
This commit is contained in:
Kacper Michajłow 2024-09-02 03:26:12 +02:00
parent afdbbac81d
commit 1f33889c03
1 changed files with 3 additions and 1 deletions

View File

@ -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)