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

2017-08-03 Thread Mark Boorer
. 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 wrote: > On Thu, Aug 03, 2017 at 12:18:01AM +0100, Mark Boorer wrote: > > Fixes: When converting yuv -> yuv and changing any of srcRange,

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

2017-08-02 Thread Mark Boorer
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(+) diff --git a/libswscale/utils.c b/libswscale/utils.c index 17c9967..90