[FFmpeg-devel] [PATCH v2] swscale: separate exported and internal range flags
Jan Ekström
jeebjp at gmail.com
Fri Oct 9 20:05:01 EEST 2020
On Wed, Oct 7, 2020 at 9:27 PM Jan Ekström <jeebjp at gmail.com> 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 the default
> value of the AVOption as -1 so we can differentiate between
> attempting to force limited range and requesting the default.
> ---
> libswscale/options.c | 4 +-
> libswscale/swscale_internal.h | 3 +
> libswscale/utils.c | 160 +++++++++++++++++++++++-----------
> 3 files changed, 114 insertions(+), 53 deletions(-)
>
Ping.
More information about the ffmpeg-devel
mailing list