X-Git-Url: https://git.sesse.net/?p=movit;a=blobdiff_plain;f=flat_input.h;h=3bcdc76d61a46a4555e7f8ab1b822ff101dc6efa;hp=9266659596ad8026f7993380c3cf1053a655714f;hb=f99ad333a7acbb6c8c995dbb036484ae8940c490;hpb=4ccde687b09ebc58d51fcec695bdfc1a35279c2f diff --git a/flat_input.h b/flat_input.h index 9266659..3bcdc76 100644 --- a/flat_input.h +++ b/flat_input.h @@ -9,6 +9,8 @@ class FlatInput : public Input { public: FlatInput(ImageFormat format, MovitPixelFormat pixel_format, unsigned width, unsigned height); + virtual std::string effect_type_id() const { return "FlatInput"; } + // Create the texture itself. We cannot do this in the constructor, // because we don't necessarily know all the settings (sRGB texture, // mipmap generation) at that point.