summaryrefslogtreecommitdiff
path: root/test/j2k_encoder_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-23 01:23:43 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-26 21:51:18 +0200
commit1d5c211dadb9a9dc2318adce86ca9c31b367cabe (patch)
treea0804622a7ceb6d9bcdc4f39732496361c53535d /test/j2k_encoder_test.cc
parentfd84c01c1c562093e99127a3a82f33d401a07655 (diff)
Fix incorrect colours with "no colourspace conversion" sources that are not AV_PIX_FMT_XYZ12LE.
Prepare the image for where it is going to next. I don't understand the difference in this situation between XYZ12LE and RGB48LE (it seems they are both 16-bit-per-channel) but there you go.
Diffstat (limited to 'test/j2k_encoder_test.cc')
-rw-r--r--test/j2k_encoder_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/j2k_encoder_test.cc b/test/j2k_encoder_test.cc
index 358ccf435..1726419c1 100644
--- a/test/j2k_encoder_test.cc
+++ b/test/j2k_encoder_test.cc
@@ -75,7 +75,7 @@ BOOST_AUTO_TEST_CASE(j2k_encoder_deadlock_test)
Eyes::BOTH,
Part::WHOLE,
optional<ColourConversion>(),
- VideoRange::VIDEO,
+ VideoRange::FULL,
weak_ptr<Content>(),
optional<dcpomatic::ContentTime>(),
false