Re: [FFmpeg-devel] [PATCH] avfilter/vf_scale: reset color matrix in case of identity & non-RGB

2021-08-27 Thread Jan Ekström
On Sat, Aug 28, 2021 at 12:03 AM Michael Niedermayer wrote: > > On Fri, Aug 27, 2021 at 01:02:31AM +0300, Jan Ekström wrote: > > On Sun, Aug 22, 2021 at 11:55 PM Jan Ekström wrote: > > > > > > Fixes passing through mismatching metadata from the input side > > > when RGB input (from f.ex. H.264

Re: [FFmpeg-devel] [PATCH] avfilter/vf_scale: reset color matrix in case of identity & non-RGB

2021-08-27 Thread Michael Niedermayer
On Fri, Aug 27, 2021 at 01:02:31AM +0300, Jan Ekström wrote: > On Sun, Aug 22, 2021 at 11:55 PM Jan Ekström wrote: > > > > Fixes passing through mismatching metadata from the input side > > when RGB input (from f.ex. H.264 or HEVC) gets converted to YCbCr. > > > > Fixes #9132 > > --- > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_scale: reset color matrix in case of identity & non-RGB

2021-08-26 Thread Jan Ekström
On Sun, Aug 22, 2021 at 11:55 PM Jan Ekström wrote: > > Fixes passing through mismatching metadata from the input side > when RGB input (from f.ex. H.264 or HEVC) gets converted to YCbCr. > > Fixes #9132 > --- > libavfilter/vf_scale.c | 9 + > 1 file changed, 9 insertions(+) > > diff

[FFmpeg-devel] [PATCH] avfilter/vf_scale: reset color matrix in case of identity & non-RGB

2021-08-22 Thread Jan Ekström
Fixes passing through mismatching metadata from the input side when RGB input (from f.ex. H.264 or HEVC) gets converted to YCbCr. Fixes #9132 --- libavfilter/vf_scale.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index