]> git.sesse.net Git - nageru/blobdiff - nageru/image_input.h
Fix ImageInput sRGB behavior.
[nageru] / nageru / image_input.h
index f7289f3164e647358722ad5c021d75fa7f881c3e..32fd52913a6cf2b930e6866772c0592ab004e89f 100644 (file)
 #include <thread>
 
 #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);