summaryrefslogtreecommitdiff
path: root/src/lib/dcp_video.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-06-10 15:28:29 +0100
committerCarl Hetherington <cth@carlh.net>2015-06-10 15:28:29 +0100
commit6e10de6161f783de85bbaf59824a29026d524e55 (patch)
tree2dc33ebea4800a32bb0f4e832e779f1ae888017c /src/lib/dcp_video.cc
parenta020b117c972db1d4e412c17465a5b7999eb3de9 (diff)
Take a JPEG2000 header marked as SRGB to mean that no XYZ -> RGB conversion should happen.
Diffstat (limited to 'src/lib/dcp_video.cc')
-rw-r--r--src/lib/dcp_video.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_video.cc b/src/lib/dcp_video.cc
index 78cbe65bd..69587a6ff 100644
--- a/src/lib/dcp_video.cc
+++ b/src/lib/dcp_video.cc
@@ -40,7 +40,7 @@
#include "raw_convert.h"
#include "data.h"
#include <libcxml/cxml.h>
-#include <dcp/xyz_image.h>
+#include <dcp/openjpeg_image.h>
#include <dcp/rgb_xyz.h>
#include <dcp/colour_matrix.h>
#include <boost/array.hpp>
@@ -107,7 +107,7 @@ DCPVideo::DCPVideo (shared_ptr<const PlayerVideo> frame, shared_ptr<const cxml::
Data
DCPVideo::encode_locally (dcp::NoteHandler note)
{
- shared_ptr<dcp::XYZImage> xyz;
+ shared_ptr<dcp::OpenJPEGImage> xyz;
shared_ptr<Image> image = _frame->image (AV_PIX_FMT_RGB48LE, _burn_subtitles, note);
if (_frame->colour_conversion()) {