X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=overlay_effect.h;fp=overlay_effect.h;h=40a6fff99e2a465f71cff654d8ae675495c08685;hp=c11569f4eec6c34e0eea4e169ee51b6142fef637;hb=2906256567cb3899b615d45e7d8a8fb482572147;hpb=7cfa62b39fb56fb1e5f094fa11bfe9d84445c80f 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