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:25:14 +0100
commitd119e52831556a0b11f4ac4bd20c31151faac171 (patch)
treecbae1108c764adc34ceecf144083b8756337e417 /src/lib/raw_image_proxy.h
parentaa97e44d334f3e2a1924059e10407aae85519eba (diff)
Account for J2K decoding at lower-than-maximum resolution when cropping
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 2b64cbd9b..99af10f99 100644
--- a/src/lib/raw_image_proxy.h
+++ b/src/lib/raw_image_proxy.h
@@ -29,7 +29,7 @@ public:
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;