vo_gpu_next: fix typo affecting --target-trc option

This commit is contained in:
Tillmann Karras 2022-09-03 01:33:40 +01:00 committed by Leo Izen
parent c4db110c8e
commit 1800891a1d
1 changed files with 1 additions and 1 deletions

View File

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