X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=padding_effect.h;h=a836ba208cc4c096fad3d0b9c7de6cc2da20ae7c;hp=e9d4ce71607d2b900428884193b34d5627af9cb9;hb=f40669de9c7e05e009e67e51a1a60773ac7e5156;hpb=eddc371976d7586176a74503ec9896159ececa43 diff --git a/padding_effect.h b/padding_effect.h index e9d4ce7..a836ba2 100644 --- a/padding_effect.h +++ b/padding_effect.h @@ -12,6 +12,9 @@ // You may not change it after calling finalize(), since that could change the // graph (need_linear_light() etc. depend on the border color you choose). +#include +#include + #include "effect.h" class PaddingEffect : public Effect { @@ -26,7 +29,7 @@ public: virtual AlphaHandling alpha_handling() const; virtual bool changes_output_size() const { return true; } - virtual void get_output_size(unsigned *width, unsigned *height) const; + virtual void get_output_size(unsigned *width, unsigned *height, unsigned *virtual_width, unsigned *virtual_height) const; virtual void inform_input_size(unsigned input_num, unsigned width, unsigned height); private: