mirror of
https://github.com/mpv-player/mpv
synced 2025-02-03 21:52:12 +00:00
vo_gpu_next: fix typo affecting --target-trc option
This commit is contained in:
parent
c4db110c8e
commit
1800891a1d
@ -874,7 +874,7 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame)
|
||||
if (opts->target_prim)
|
||||
hint.primaries = mp_prim_to_pl(opts->target_prim);
|
||||
if (opts->target_trc)
|
||||
hint.transfer = mp_prim_to_pl(opts->target_trc);
|
||||
hint.transfer = mp_trc_to_pl(opts->target_trc);
|
||||
pl_swapchain_colorspace_hint(p->sw, &hint);
|
||||
} else if (!p->target_hint) {
|
||||
pl_swapchain_colorspace_hint(p->sw, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user