summaryrefslogtreecommitdiff
path: root/src/lib/raw_image_proxy.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-04-13 23:23:00 +0100
committerCarl Hetherington <cth@carlh.net>2018-04-13 23:23:00 +0100
commit0ff4fa6058b305476e7bc60c590acb6135c49b1c (patch)
tree1ea7e181846964bd1bab52bbfafc118f49b584f8 /src/lib/raw_image_proxy.h
parent9106e6ed551b13e1b7c7ee2088d54ce0ae430bcf (diff)
Account for J2K decoding at lower-than-maximum resolution when croppingv2.13.14
the resulting images; fixes #1274.
Diffstat (limited to 'src/lib/raw_image_proxy.h')
-rw-r--r--src/lib/raw_image_proxy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/raw_image_proxy.h b/src/lib/raw_image_proxy.h
index 9f8424eb3..78b7db0c7 100644
--- a/src/lib/raw_image_proxy.h
+++ b/src/lib/raw_image_proxy.h
@@ -29,7 +29,7 @@ public:
explicit RawImageProxy (boost::shared_ptr<Image>);
RawImageProxy (boost::shared_ptr<cxml::Node> xml, boost::shared_ptr<Socket> socket);
- boost::shared_ptr<Image> image (
+ std::pair<boost::shared_ptr<Image>, int> image (
boost::optional<dcp::NoteHandler> note = boost::optional<dcp::NoteHandler> (),
boost::optional<dcp::Size> size = boost::optional<dcp::Size> ()
) const;