summaryrefslogtreecommitdiff
path: root/src/lib/dcp_video.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2017-06-23 15:09:30 +0100
committerCarl Hetherington <cth@carlh.net>2017-06-23 15:09:30 +0100
commit9824173a79ce723068296b3a44499101408c24f2 (patch)
tree35d679a7bb8c008c74ec965eb04d767eefe20629 /src/lib/dcp_video.cc
parentd72aed1f6cfd2f3fcb2d8f0026ded1a6d30c6cb7 (diff)
Attempts to simplify black-filling logic in Player.
Diffstat (limited to 'src/lib/dcp_video.cc')
-rw-r--r--src/lib/dcp_video.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_video.cc b/src/lib/dcp_video.cc
index 916563b85..655c37382 100644
--- a/src/lib/dcp_video.cc
+++ b/src/lib/dcp_video.cc
@@ -109,7 +109,7 @@ DCPVideo::convert_to_xyz (shared_ptr<const PlayerVideo> frame, dcp::NoteHandler
note
);
} else {
- xyz = dcp::xyz_to_xyz (image->data()[0], image->size(), image->stride()[0]);
+ xyz.reset (new dcp::OpenJPEGImage (image->data()[0], image->size(), image->stride()[0]));
}
return xyz;