summaryrefslogtreecommitdiff
path: root/test/client_server_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-17 21:47:08 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-17 21:47:08 +0100
commit2499c41097f8410cb3016e095a85d68979485a7b (patch)
tree331a23489d3be42ede2861311a797792ba663805 /test/client_server_test.cc
parent89af81886eeee57861bc23984a0583bec76d536d (diff)
Various bits mostly related to colour conversions.
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 d695f96ce..7faf47c41 100644
--- a/test/client_server_test.cc
+++ b/test/client_server_test.cc
@@ -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));
@@ -92,7 +92,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) {