[FFmpeg-devel] avfilter/vf_premultiply : use full range for RGB input

Paul B Mahol onemda at gmail.com
Sat Mar 17 22:45:34 EET 2018


On 3/17/18, Martin Vignali <martin.vignali at gmail.com> wrote:
>>
>> Those checks are there for the reason, fix your samples.
>>
>
> Same wrong output if i convert the sample to png, and run unpremultiply
> filter.

Two wrongs does not make something bad suddenly good.

Obviously for whatever reason files are tagged as limited, when in fact
they are full range.

I couldn't find source of this bug. But your patch is wrong, as it ignores
color_range if it is set to limited, even if such files are useless.


More information about the ffmpeg-devel mailing list