Re: [FFmpeg-devel] [PATCH] lavfi: a minor fix to tonemap peak detection.

2018-05-21 Thread Vittorio Giovara
On Mon, May 21, 2018 at 2:58 AM, Ruiling Song wrote: > If the transfer was SMPTE2084, use the peak of 1 even if not tagged. > Otherwise, we would assume it is HLG with a peak of 1200. > Based on suggestion by Niklas Haas. > > Signed-off-by: Ruiling Song > --- > libavfilter/vf_tonemap.c | 5

[FFmpeg-devel] [PATCH] lavfi: a minor fix to tonemap peak detection.

2018-05-20 Thread Ruiling Song
If the transfer was SMPTE2084, use the peak of 1 even if not tagged. Otherwise, we would assume it is HLG with a peak of 1200. Based on suggestion by Niklas Haas. Signed-off-by: Ruiling Song --- libavfilter/vf_tonemap.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a