History

vo_libmpv: use fallback colorspace for Dolby Vision

Same as 2a72e6cb20c2af302041a0b30dbf0d1b93990a4a for libmpv.

Kacper Michajłow committed 2 years ago

Commit 1f338891 parent afdbbac1 file · +3 −1Browse files

Unified · Split

video/out/gpu/libmpv_gpu.c+3−1
@@ -124,7 +124,9 @@ static void reconfig(struct render_backend *ctx, struct mp_image_params *params) · 123 unmodified lines
124124 {
125125 struct priv *p = ctx->priv;
126126
127− gl_video_config(p->renderer, params);
127+ struct mp_image_params fallback_params = *params;
128+ mp_image_params_restore_dovi_mapping(&fallback_params);
129+ gl_video_config(p->renderer, &fallback_params);
128130 }
129131
130132 static void reset(struct render_backend *ctx)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t