More various KDM fixes.
[dcpomatic.git] / test / client_server_test.cc
index d695f96ce182b3f15cba8a57d69836b83e2311e2..8662f54e8f6a3fa11f482da25b423c32e0e125cb 100644 (file)
@@ -29,7 +29,7 @@ using boost::shared_ptr;
 using boost::thread;
 
 void
-do_remote_encode (shared_ptr<DCPVideoFrame> frame, shared_ptr<ServerDescription> description, shared_ptr<EncodedData> locally_encoded)
+do_remote_encode (shared_ptr<DCPVideoFrame> frame, ServerDescription description, shared_ptr<EncodedData> locally_encoded)
 {
        shared_ptr<EncodedData> remotely_encoded;
        BOOST_CHECK_NO_THROW (remotely_encoded = frame->encode_remotely (description));
@@ -76,6 +76,7 @@ BOOST_AUTO_TEST_CASE (client_server_test)
                        image,
                        0,
                        EYES_BOTH,
+                       ColourConversion (),
                        24,
                        200000000,
                        log
@@ -92,7 +93,7 @@ BOOST_AUTO_TEST_CASE (client_server_test)
        /* Let the server get itself ready */
        dcpomatic_sleep (1);
 
-       shared_ptr<ServerDescription> description (new ServerDescription ("localhost", 2));
+       ServerDescription description ("localhost", 2);
 
        list<thread*> threads;
        for (int i = 0; i < 8; ++i) {