Skip to content

Commit

Permalink
demos/plplay: fix use_icc_luma checkbox
Browse files Browse the repository at this point in the history
This was accidentally inverted...
  • Loading branch information
haasn committed Sep 30, 2023
1 parent d6ae48b commit b2ddc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demos/plplay.c
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ static bool render_frame(struct plplay *p, const struct pl_swapchain_frame *fram

// Update ICC profile parameters dynamically
float target_luma = 0.0f;
if (p->use_icc_luma) {
if (!p->use_icc_luma) {
pl_color_space_nominal_luma_ex(pl_nominal_luma_params(
.metadata = PL_HDR_METADATA_HDR10, // use only static HDR nits
.scaling = PL_HDR_NITS,
Expand Down

0 comments on commit b2ddc5c

Please sign in to comment.