]> git.sesse.net Git - movit/blobdiff - effect_chain.cpp
Add fallbacks for systems without proper monotonic clocks (e.g. OS X).
[movit] / effect_chain.cpp
index a15a566c4153f6c45126aa9f571c028af882a950..623d64aad936e081e0b6d9e7f7ee26346a82107f 100644 (file)
@@ -14,6 +14,7 @@
 #include "lift_gamma_gain_effect.h"
 #include "colorspace_conversion_effect.h"
 #include "saturation_effect.h"
+#include "vignette_effect.h"
 #include "texture_enum.h"
 
 EffectChain::EffectChain(unsigned width, unsigned height)
@@ -44,6 +45,8 @@ Effect *instantiate_effect(EffectId effect)
                return new LiftGammaGainEffect();
        case EFFECT_SATURATION:
                return new SaturationEffect();
+       case EFFECT_VIGNETTE:
+               return new VignetteEffect();
        }
        assert(false);
 }