aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2023-10-30 14:07:43 +0100
committerNiklas Haas <git@haasn.dev>2023-12-31 13:35:35 -0800
commitff506b8d8f8a91c502360ccead5a967622326d23 (patch)
tree1326680c87a4b09be700d9c746747b4d8de50be4 /libavfilter
parent2ebcbe97fc132214f9821c1a0298c4223657f69f (diff)
downloadffmpeg-ff506b8d8f8a91c502360ccead5a967622326d23.tar.gz
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.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vf_libplacebo.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavfilter/vf_libplacebo.c b/libavfilter/vf_libplacebo.c
index 8534945ba6..b6e82a61e0 100644
--- a/libavfilter/vf_libplacebo.c
+++ b/libavfilter/vf_libplacebo.c
@@ -888,7 +888,6 @@ static int output_frame(AVFilterContext *ctx, int64_t pts)
if (s->apply_dovi && av_frame_get_side_data(ref, AV_FRAME_DATA_DOVI_METADATA)) {
/* Output of dovi reshaping is always BT.2020+PQ, so infer the correct
* output colorspace defaults */
- out->colorspace = AVCOL_SPC_BT2020_NCL;
out->color_primaries = AVCOL_PRI_BT2020;
out->color_trc = AVCOL_TRC_SMPTE2084;
}