]> git.sesse.net Git - ffmpeg/commit
swscale/utils: override forced-zero formats back to full range
authorJan Ekström <jeebjp@gmail.com>
Fri, 9 Oct 2020 22:33:27 +0000 (01:33 +0300)
committerJan Ekström <jeebjp@gmail.com>
Sun, 11 Oct 2020 09:58:13 +0000 (12:58 +0300)
commit7ea4bcff7b038774b404bad2b9c7112a7855a088
tree2a7fc763f43ade5f6a6ba57d999b90d4b6bc4862
parent3fe24fe23219d28edc12c5b78a19a075d948f997
swscale/utils: override forced-zero formats back to full range

Fixes vf_scale outputting RGB AVFrames with limited range flagged
in case either input or output specifically sets the range.

This is the reverse of the logic utilized for RGB and PAL8 content
in sws_setColorspaceDetails.
libswscale/utils.c