On 3/17/18, Martin Vignali <martin.vign...@gmail.com> wrote: >> >> 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. >> > > > I think there is two problem here > 1 - Frame tagged as limited instead of full > 2 - Wrong calculation for rgb in unpremultiply offset > > Patch in attach, try to fix the second problem > changing unpremultiply_offset, to avoid very wrong output with rgb input (8 > bits or 16 bits) > Not sure it's the best way to fix that.
Patch looks ok. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel