From aa7edc3114fa3b7868088a9f8f22b5ee195a8668 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 29 Oct 2015 16:57:33 +0000 Subject: Fix incorrect colourspace conversion of XYZ content when it is not being passed through as untouched JPEG2000 (#730). --- src/lib/raw_image_proxy.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/raw_image_proxy.cc') diff --git a/src/lib/raw_image_proxy.cc b/src/lib/raw_image_proxy.cc index a7c77ce6c..21a2b0de4 100644 --- a/src/lib/raw_image_proxy.cc +++ b/src/lib/raw_image_proxy.cc @@ -81,3 +81,9 @@ RawImageProxy::same (shared_ptr other) const return (*_image.get()) == (*rp->image().get()); } + +AVPixelFormat +RawImageProxy::pixel_format () const +{ + return _image->pixel_format (); +} -- cgit v1.2.3