[FFmpeg-devel] [PATCH] swscale/utils.c: Fix incorrect error when calling sws_setColorspaceDetails

Mark Boorer markboo99 at gmail.com
Thu Aug 3 14:06:34 EEST 2017


I can confirm that range works as expected, but I couldn't actually see any
difference when setting brightness, contrast or saturation. It looks as
though all of those calculations only take place inside the yuv2rgb lookup
table, so when converting from yuv->yuv they won't get applied.

In my case I am not using the brightness/contrast/saturation settings, only
the range.

On Thu, Aug 3, 2017 at 2:52 AM, Michael Niedermayer <michael at niedermayer.cc>
wrote:

> On Thu, Aug 03, 2017 at 12:18:01AM +0100, Mark Boorer wrote:
> > Fixes: When converting yuv -> yuv and changing any of srcRange,
> > dstRange, brightness, contrast, or saturation the context would not be
> > re-initialized as required.
> > ---
> >  libswscale/utils.c | 3 +++
> >  1 file changed, 3 insertions(+)
>
> have you confirmed that with this patch these parameters also work ?
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> "I am not trying to be anyone's saviour, I'm trying to think about the
>  future and not be sad" - Elon Musk
>
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
>


More information about the ffmpeg-devel mailing list