On Tue, Nov 28, 2017 at 5:14 PM, Neil Birkbeck <neil.birkb...@gmail.com>

> -    //The srcBpc check is possibly wrong but we seem to lack a definitive
> reference to test this
> -    //and what we have in ticket 2939 looks better with this check
> -    if (need_reinit && (c->srcBpc == 8 || !isYUV(c->srcFormat)))
> +    if (need_reinit)
>          ff_sws_init_range_convert(c);

Wanted to check and see if someone more familiar with this condition can
comment as to whether some parts of it may still be necessary.

Also, this may also need to be coupled with a change to vf_scale.
E.g., at the moment, I think scaling >10bit YUV without explicit _range
settings may not change color range of the data (but it may assign
incorrect color_range flag to the frame).
ffmpeg-devel mailing list

Reply via email to