Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions DOCS/man/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7377,10 +7377,13 @@ them.
``yes``, it will be converted based on the available metadata.

``auto`` (default) behaves like ``no``, except when ``--target-trc`` is
explicitly set, in which case it behaves like ``yes``.
explicitly set, in which case it behaves like ``yes``. Besides, on macOS it
should always behaves like ``yes``.

Generally it's recommended to enable this option, if you can ensure that
both source and target metadata is correct.
both source and target metadata is correct. On color-managed platforms, the
target metadata is likely to be accurate. However, the accuracy of the
source metadata might not be guaranteed.

(Only for ``--vo=gpu-next``)

Expand Down
4 changes: 4 additions & 0 deletions video/out/vo_gpu_next.c
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,10 @@ static bool draw_frame(struct vo *vo, struct vo_frame *frame)
case PL_COLOR_TRC_BT_1886:
case PL_COLOR_TRC_GAMMA22:
case PL_COLOR_TRC_SRGB:
#ifdef __APPLE__
if (opts->sdr_adjust_gamma == 0)
break;
#endif
target.color.transfer = frame->current->params.color.transfer;
}
}
Expand Down
Loading