mirror of https://github.com/FFmpeg/FFmpeg.git
This filter currently makes the distinction between limited and full range by testing for the deprecated YUVJ pixel formats at link setup time. This is deprecated and should be improved to perform the detection based on the per-frame metadata. Rewrite it to calculate the black pixel threshold at the time of filtering a frame, when metadata about the frame's color range is known. Doing it this way has the small side benefit of being able to handle streams with variable metadata, and is not a meaningful performance cost. Signed-off-by: Niklas Haas <git@haasn.dev>pull/388/head
parent
3b66757d7d
commit
8e2f61ef04
1 changed files with 10 additions and 10 deletions
Loading…
Reference in new issue