On Wed, Oct 7, 2020 at 8:34 PM Michael Niedermayer <mich...@niedermayer.cc> wrote: > > On Wed, Oct 07, 2020 at 02:03:16AM +0300, Jan Ekström wrote: > > This makes isAnyRGB return true for AV_PIX_FMT_PAL8 which is currently > > the only pixel format with this flag. > > > > This lets us have a single query for formats where we need to force > > range as only full range content is supported. > > --- > > libswscale/swscale_internal.h | 2 +- > > tests/ref/fate/sws-pixdesc-query | 1 + > > 2 files changed, 2 insertions(+), 1 deletion(-) > > This breaks: > > ./ffmpeg -i ~/tickets/3464/DEMO.HNM -vframes 5 out.avi > The output looks like the chroma plane is significantly shifted horizontally > > file should be here: > https://trac.ffmpeg.org/raw-attachment/ticket/3464/DEMO.HNM > > thx
OK, thank you. I will move back to !isYUV() && !isGray() instead of isAnyRGB() then because while latter is IMHO easier to read, this was not noticed in FATE and swscale is not what I am trying to work on more than absolutely necessary right now. Jan _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".