Re: [FFmpeg-devel] [PATCH v2] swscale: separate exported and internal range flags

2020-10-09 Thread Jan Ekström
On Fri, Oct 9, 2020 at 10:02 PM Michael Niedermayer wrote: > > On Wed, Oct 07, 2020 at 09:27:20PM +0300, Jan Ekström wrote: > > Fixes vf_scale outputting RGB AVFrames with limited range in > > case either input or output specifically sets the range. > > > > Keeps the external interfaces the same,

Re: [FFmpeg-devel] [PATCH v2] swscale: separate exported and internal range flags

2020-10-09 Thread Michael Niedermayer
On Wed, Oct 07, 2020 at 09:27:20PM +0300, Jan Ekström wrote: > Fixes vf_scale outputting RGB AVFrames with limited range in > case either input or output specifically sets the range. > > Keeps the external interfaces the same, but allows us to retrieve > and set nonzero value for RGB.

Re: [FFmpeg-devel] [PATCH v2] swscale: separate exported and internal range flags

2020-10-09 Thread Jan Ekström
On Wed, Oct 7, 2020 at 9:27 PM Jan Ekström wrote: > > Fixes vf_scale outputting RGB AVFrames with limited range in > case either input or output specifically sets the range. > > Keeps the external interfaces the same, but allows us to retrieve > and set nonzero value for RGB. Additionally defines

[FFmpeg-devel] [PATCH v2] swscale: separate exported and internal range flags

2020-10-07 Thread Jan Ekström
Fixes vf_scale outputting RGB AVFrames with limited range in case either input or output specifically sets the range. Keeps the external interfaces the same, but allows us to retrieve and set nonzero value for RGB. Additionally defines the default value of the AVOption as -1 so we can