aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/src_movie.c
diff options
context:
space:
mode:
authorJan Ekström <jeebjp@gmail.com>2021-08-17 23:35:38 +0300
committerJan Ekström <jeebjp@gmail.com>2021-08-18 12:09:37 +0300
commitdbe40478e293f78c5a5e4302eb3f38257106ee86 (patch)
tree82dfc167e94c162d789d1380d8fcacf837cb3df5 /libavfilter/src_movie.c
parent7ca71b79f2b3256a0eef1a099b857ac9e4017e36 (diff)
downloadffmpeg-dbe40478e293f78c5a5e4302eb3f38257106ee86.tar.gz
avcodec/libx265: improve full range flag setting logic
Unlike libx264, libx265 does not have a separate "unspecified"/"auto" default for color range, so we do always have to specify it. Thus, we are required to handle the RGB case on the libavcodec side to enable the correct value to be written out in in case of RGB content with unspecified color range being received. In other words: 1. If the user has set color range specifically, follow that. 2. If the user has not set color range specifically, set full range by default in case of RGB and YUVJ pixel formats.
Diffstat (limited to 'libavfilter/src_movie.c')
0 files changed, 0 insertions, 0 deletions