X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=mix_effect.h;fp=mix_effect.h;h=d891eb5212f7470d013553bc48a2b742d5a40f69;hp=9abe6010a86d1aabb4640759c99fef537cb4caae;hb=b564238fa1293c01c77bcabe7b2de267f146ab24;hpb=7878253d0d7b5aaa6b701499e588b31f2c5edca2 diff --git a/mix_effect.h b/mix_effect.h index 9abe601..d891eb5 100644 --- a/mix_effect.h +++ b/mix_effect.h @@ -18,6 +18,7 @@ public: virtual bool needs_srgb_primaries() const { return false; } virtual unsigned num_inputs() const { return 2; } + virtual bool one_to_one_sampling() const { return true; } // TODO: In the common case where a+b=1, it would be useful to be able to set // alpha_handling() to INPUT_PREMULTIPLIED_ALPHA_KEEP_BLANK. However, right now