Quell config-save warning when we're only trying to save history.
[dcpomatic.git] / src / lib / magick_image_proxy.h
index 7d2b69afeaf4aabec4b115354143cdd1d6414d98..62f3afa2e23e01cf37be424dffa2f8fd00a350f1 100644 (file)
@@ -42,6 +42,10 @@ public:
 
 private:
        Magick::Blob _blob;
+       /** Path of a file that this image came from, if applicable; stored so that
+           failed-decode errors can give more detail.
+       */
+       boost::optional<boost::filesystem::path> _path;
        mutable boost::shared_ptr<Image> _image;
        mutable boost::mutex _mutex;
 };