X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect_chain.h;fp=effect_chain.h;h=cbc1221020bbfa0063767da30275ee7e45662891;hb=36d9ece323c89dbd553644c80fea449c5dd1e685;hp=4417de912f9f979a8308f96e6291246c3c73841c;hpb=b65b7cace3efb474a378e65d395f278307c1c44c;p=movit diff --git a/effect_chain.h b/effect_chain.h index 4417de9..cbc1221 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -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 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 &inputs); void add_output(const ImageFormat &format, OutputAlphaFormat alpha_format);