X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fimage_input.h;h=32fd52913a6cf2b930e6866772c0592ab004e89f;hb=45a94bcaba587f636c1aa40485d02c5619109b20;hp=f7289f3164e647358722ad5c021d75fa7f881c3e;hpb=575a3feeaa7420f65a4468b997167d7555794c08;p=nageru diff --git a/nageru/image_input.h b/nageru/image_input.h index f7289f3..32fd529 100644 --- a/nageru/image_input.h +++ b/nageru/image_input.h @@ -14,13 +14,14 @@ #include #include "ref_counted_texture.h" +#include "tweaked_inputs.h" class QSurface; // An output that takes its input from a static image, loaded with ffmpeg. // comes from a single 2D array with chunky pixels. The image is refreshed // from disk about every second. -class ImageInput : public movit::FlatInput { +class ImageInput : public sRGBSwitchingFlatInput { public: // NOTE: You will need to call start_update_thread() yourself, once per program. ImageInput(const std::string &filename);