X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=effect_chain.h;h=0b07b85419e2040c0c68d1cac9ec34faedb33b7e;hb=0dc1dfe6444a700ebd2c9f006cba000b90c3a7b0;hp=f9e1255566fbcf5522de9a58d34b2f52a83154af;hpb=bbf6d754a01960a637e821853cf50a282f2a9163;p=movit diff --git a/effect_chain.h b/effect_chain.h index f9e1255..0b07b85 100644 --- a/effect_chain.h +++ b/effect_chain.h @@ -15,7 +15,9 @@ public: // User API: // input, effects, output, finalize need to come in that specific order. - Input *add_input(const ImageFormat &format); + // EffectChain takes ownership of the given input. + // input is returned back for convenience. + Input *add_input(Input *input); // EffectChain takes ownership of the given effect. // effect is returned back for convenience.