]> git.sesse.net Git - movit/blobdiff - effect_chain.h
1.0f is not allowed in GLSL; 1.0 it is.
[movit] / effect_chain.h
index f9e1255566fbcf5522de9a58d34b2f52a83154af..0b07b85419e2040c0c68d1cac9ec34faedb33b7e 100644 (file)
@@ -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.