diff options
author | wm4 <wm4@nowhere> | 2015-03-01 22:31:35 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-01 22:32:38 +0100 |
commit | 08199a64d2e7e9f1a9430f0258a98285cdf1c902 (patch) | |
tree | 1f8cdc615dba3a835b7914063314b3d7e3f75ff5 /video/sws_utils.h | |
parent | 1bbf1eb3ce2bdb0ef3ec3b045074bcb2f3af6a7a (diff) | |
download | mpv-08199a64d2e7e9f1a9430f0258a98285cdf1c902.tar.bz2 mpv-08199a64d2e7e9f1a9430f0258a98285cdf1c902.tar.xz |
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.)
Diffstat (limited to 'video/sws_utils.h')
-rw-r--r-- | video/sws_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |