summaryrefslogtreecommitdiff
path: root/src/lib/image_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/image_proxy.h')
-rw-r--r--src/lib/image_proxy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/image_proxy.h b/src/lib/image_proxy.h
index d7bd7b0e6..f9a06d1b7 100644
--- a/src/lib/image_proxy.h
+++ b/src/lib/image_proxy.h
@@ -74,6 +74,10 @@ public:
virtual void send_binary (boost::shared_ptr<Socket>) const = 0;
/** @return true if our image is definitely the same as another, false if it is probably not */
virtual bool same (boost::shared_ptr<const ImageProxy>) const = 0;
+ /** Do any useful work that would speed up a subsequent call to ::image().
+ * This method may be called in a different thread to image().
+ */
+ virtual void prepare (boost::optional<dcp::Size> = boost::optional<dcp::Size>()) const {}
virtual AVPixelFormat pixel_format () const = 0;
};