Re-add erroneously removed virtual which slows down DCP export (and possibly decoding... v2.13.22
authorCarl Hetherington <cth@carlh.net>
Fri, 18 May 2018 01:04:45 +0000 (02:04 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 18 May 2018 01:04:45 +0000 (02:04 +0100)
ChangeLog
src/lib/image_proxy.h

index 15c2bbf0f1be974e1bd6e2a12d73cd8bf7eb34bc..607f6a95b69c1a777c6f551c9a73e18c93e422fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-05-18  Carl Hetherington  <cth@carlh.net>
+
+       * Fix slow exports from DCP content (#1285).
+
 2018-05-16  Carl Hetherington  <cth@carlh.net>
 
        * Add cancel button to DCP verification progress dialogue (#1294).
index 846aec136f3348c0457c5007b12a70df34122458..b377d5362928e03bacbae8856ee69ba76a5f37c2 100644 (file)
@@ -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;
 };