]> git.sesse.net Git - movit/blobdiff - effect_chain.h
Fix a bug where repeated vertical FFTs would reverse the output.
[movit] / effect_chain.h
index 4417de912f9f979a8308f96e6291246c3c73841c..cbc1221020bbfa0063767da30275ee7e45662891 100644 (file)
@@ -139,6 +139,13 @@ public:
                inputs.push_back(input2);
                return add_effect(effect, inputs);
        }
+       Effect *add_effect(Effect *effect, Effect *input1, Effect *input2, Effect *input3) {
+               std::vector<Effect *> inputs;
+               inputs.push_back(input1);
+               inputs.push_back(input2);
+               inputs.push_back(input3);
+               return add_effect(effect, inputs);
+       }
        Effect *add_effect(Effect *effect, const std::vector<Effect *> &inputs);
 
        void add_output(const ImageFormat &format, OutputAlphaFormat alpha_format);