History

avfilter/vf_libplacebo: don't force dovi frames to bt.2020-ncl

This is at odds with the YUV matrix negotiation API, in which such dynamic changes in YUV encoding are no longer easily possible. There is also no really strong motivating reason to do this, since the choice of YUV matrix is essentially arbitrary and not actually related to the Dolby Vision decoding process.

Niklas Haas committed 3 years ago

Commit ff506b81 parent 2ebcbe91 file · +0 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_libplacebo.c+0−1
@@ -888,7 +888,6 @@ static int output_frame(AVFilterContext *ctx, int64_t pts) · 887 unmodified lines
888888 if (s->apply_dovi && av_frame_get_side_data(ref, AV_FRAME_DATA_DOVI_METADATA)) {
889889 /* Output of dovi reshaping is always BT.2020+PQ, so infer the correct
890890 * output colorspace defaults */
891− out->colorspace = AVCOL_SPC_BT2020_NCL;
892891 out->color_primaries = AVCOL_PRI_BT2020;
893892 out->color_trc = AVCOL_TRC_SMPTE2084;
894893 }

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