Loosen up a boundary in DitherEffectTest by 10%.
[movit] / colorspace_conversion_effect.h
index 33a04ed..15ad0ad 100644 (file)
 #include "effect_chain.h"
 
 class ColorspaceConversionEffect : public Effect {
-public:
+private:
+       // Should not be instantiated by end users.
        ColorspaceConversionEffect();
+       friend class EffectChain;
+
+public:
        virtual std::string effect_type_id() const { return "ColorspaceConversionEffect"; }
        std::string output_fragment_shader();
 
        virtual bool needs_srgb_primaries() const { return false; }
+       virtual AlphaHandling alpha_handling() const { return DONT_CARE_ALPHA_TYPE; }
 
 private:
        Colorspace source_space, destination_space;