X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=nageru%2Fimage_input.h;h=32fd52913a6cf2b930e6866772c0592ab004e89f;hb=ace7c97abd704ad38a3287c22ae42f05c1f9a5b4;hp=f7289f3164e647358722ad5c021d75fa7f881c3e;hpb=533f00a9b992d06767737f9db236b4cf76b9c124;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);