Some const correctness.
[dcpomatic.git] / src / lib / player_video.h
index 347d10667de69d97584a4dccb0ec9ddc1d194970..872bc9864725a7ae2f89176798446b7f96b1ceae 100644 (file)
@@ -76,7 +76,7 @@ public:
 
        void prepare (std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool aligned, bool fast, bool proxy_only);
        std::shared_ptr<Image> image (std::function<AVPixelFormat (AVPixelFormat)> pixel_format, VideoRange video_range, bool aligned, bool fast) const;
-       std::shared_ptr<Image> raw_image () const;
+       std::shared_ptr<const Image> raw_image () const;
 
        static AVPixelFormat force (AVPixelFormat, AVPixelFormat);
        static AVPixelFormat keep_xyz_or_rgb (AVPixelFormat);