mirror of
https://github.com/librempeg/librempeg
synced 2024-11-23 11:39:47 +00:00
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.
This commit is contained in:
parent
572ef567a5
commit
aa8e5eecac
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user