summaryrefslogtreecommitdiff
path: root/test/client_server_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-07 12:12:15 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-07 12:12:15 +0000
commit77f7f3be256f81d2977bccdb236582e18a625ba7 (patch)
tree2b3880043171559a2d6b938c3c1746ba6ea5874c /test/client_server_test.cc
parent48073ddb0a9a6e9c9dd81b04b196230f4372447b (diff)
Make a note in the log when XYZ values are clamped by libdcp on XYZ -> RGB conversion.
Diffstat (limited to 'test/client_server_test.cc')
-rw-r--r--test/client_server_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/client_server_test.cc b/test/client_server_test.cc
index 0cd728165..daa1fa20f 100644
--- a/test/client_server_test.cc
+++ b/test/client_server_test.cc
@@ -111,7 +111,7 @@ BOOST_AUTO_TEST_CASE (client_server_test_rgb)
)
);
- shared_ptr<EncodedData> locally_encoded = frame->encode_locally ();
+ shared_ptr<EncodedData> locally_encoded = frame->encode_locally (boost::bind (&Log::dcp_log, log.get(), _1, _2));
BOOST_ASSERT (locally_encoded);
Server* server = new Server (log, true);
@@ -195,7 +195,7 @@ BOOST_AUTO_TEST_CASE (client_server_test_yuv)
)
);
- shared_ptr<EncodedData> locally_encoded = frame->encode_locally ();
+ shared_ptr<EncodedData> locally_encoded = frame->encode_locally (boost::bind (&Log::dcp_log, log.get(), _1, _2));
BOOST_ASSERT (locally_encoded);
Server* server = new Server (log, true);