Fix subtitle vertical position (#2367).
[dcpomatic.git] / src / lib / raw_image_proxy.h
index 1111b66c09dea38b64b46189042fa030ba7cb33a..d5ae2457d265ed156da08da1b9a269d10408e437 100644 (file)
@@ -29,7 +29,7 @@
 class RawImageProxy : public ImageProxy
 {
 public:
-       explicit RawImageProxy (std::shared_ptr<Image>);
+       explicit RawImageProxy(std::shared_ptr<const Image>);
        RawImageProxy (std::shared_ptr<cxml::Node> xml, std::shared_ptr<Socket> socket);
 
        Result image (
@@ -43,7 +43,7 @@ public:
        size_t memory_used () const override;
 
 private:
-       std::shared_ptr<Image> _image;
+       std::shared_ptr<const Image> _image;
 };