X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=overlay_effect.h;h=40a6fff99e2a465f71cff654d8ae675495c08685;hp=c11569f4eec6c34e0eea4e169ee51b6142fef637;hb=1ca8a02bbbea840ab4165bf1d14a588d71db9e0c;hpb=b564238fa1293c01c77bcabe7b2de267f146ab24 diff --git a/overlay_effect.h b/overlay_effect.h index c11569f..40a6fff 100644 --- a/overlay_effect.h +++ b/overlay_effect.h @@ -32,6 +32,11 @@ public: // However, understanding that would require changes // to EffectChain, so postpone that optimization for later. virtual AlphaHandling alpha_handling() const { return INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK; } + +private: + // If true, overlays input1 on top of input2 instead of vice versa. + // Must be set before finalize. + bool swap_inputs; }; } // namespace movit