Loosen up a boundary in DitherEffectTest by 10%.
[movit] / colorspace_conversion_effect.h
index 93db321..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();