From 08199a64d2e7e9f1a9430f0258a98285cdf1c902 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 1 Mar 2015 22:31:35 +0100 Subject: vf_scale: libswscale is being stupid This time (there are a lot of times), libswscale randomly ignores brightness/saturation/contrast settings. Looking at MPlayer code, it appears the return value of sws_setColorspaceDetails() signals if changing these settings is supported at all. (Nevermind that supporting this feature has almost 0 value, and obviously eats maintenance time.) --- video/sws_utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'video/sws_utils.h') diff --git a/video/sws_utils.h b/video/sws_utils.h index ac643dd7cf..f8b4384e97 100644 --- a/video/sws_utils.h +++ b/video/sws_utils.h @@ -44,6 +44,7 @@ struct mp_sws_context { // Cached context (if any) struct SwsContext *sws; + bool supports_csp; // Contains parameters for which sws is valid struct mp_sws_context *cached; -- cgit v1.2.3