Commit aa8e5eec authored by Vittorio Giovara's avatar Vittorio Giovara

vf_tonemap: Update hdr metadata with the new peak value

Less effective than the approach in vf_tonemap_opencl because there
is no peak detection, but it's still a good idea to implement this.
parent 572ef567
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment