diff --git a/libavfilter/vf_tonemap.c b/libavfilter/vf_tonemap.c index b62532946b..98a2c4bd23 100644 --- a/libavfilter/vf_tonemap.c +++ b/libavfilter/vf_tonemap.c @@ -265,6 +265,8 @@ static int filter_frame(AVFilterLink *link, AVFrame *in) av_frame_free(&in); + ff_update_hdr_metadata(out, peak); + return ff_filter_frame(outlink, out); }