X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=diffusion_effect.h;h=64b94dd8dad11df184e3fb082ec622ab13186644;hp=2c31e4ae348524e23ba2b55e344a739d01b2092c;hb=95edbfccb0843da3cc105dadc5bc6d8e102f6071;hpb=cfc161e0289c2169d4835c48751ff56b97355eb2 diff --git a/diffusion_effect.h b/diffusion_effect.h index 2c31e4a..64b94dd 100644 --- a/diffusion_effect.h +++ b/diffusion_effect.h @@ -12,7 +12,7 @@ // where we first blur the picture, and then overlay it on the original // using the original as a matte. -#include +#include #include #include @@ -28,6 +28,7 @@ class OverlayMatteEffect; class DiffusionEffect : public Effect { public: DiffusionEffect(); + ~DiffusionEffect(); virtual std::string effect_type_id() const { return "DiffusionEffect"; } virtual void rewrite_graph(EffectChain *graph, Node *self); @@ -43,6 +44,7 @@ public: private: BlurEffect *blur; OverlayMatteEffect *overlay_matte; + bool owns_overlay_matte; }; // Used internally by DiffusionEffect; combines the blurred and the original