summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-05-18 02:04:45 +0100
committerCarl Hetherington <cth@carlh.net>2018-05-18 02:06:22 +0100
commit78151ebede49ce51538e62e7689eb00fda0fb637 (patch)
tree7fa37fa91420c919c4aad7a00e86ea125d3f78bc /src
parentaa408dff5b1868863d8099a14b18d187db29fef2 (diff)
Cherry pick cbbc75a40156be9e3ef777e0f060f23639025e60 from master to fix slow exports.
Diffstat (limited to 'src')
-rw-r--r--src/lib/image_proxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/image_proxy.h b/src/lib/image_proxy.h
index 846aec136..b377d5362 100644
--- a/src/lib/image_proxy.h
+++ b/src/lib/image_proxy.h
@@ -80,7 +80,7 @@ public:
* This method may be called in a different thread to image().
* @return log2 of any scaling down that will be applied to the image.
*/
- int prepare (boost::optional<dcp::Size> = boost::optional<dcp::Size>()) const { return 0; }
+ virtual int prepare (boost::optional<dcp::Size> = boost::optional<dcp::Size>()) const { return 0; }
virtual AVPixelFormat pixel_format () const = 0;
virtual size_t memory_used () const = 0;
};