projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tidy up logging a bit. Make it configurable from the GUI.
[dcpomatic.git]
/
test
/
client_server_test.cc
diff --git
a/test/client_server_test.cc
b/test/client_server_test.cc
index c8a2b49efdcd88f83133ec6e25d81cc3175a5225..98993cc5bd67c5148870e38245ff56db6da5864e 100644
(file)
--- a/
test/client_server_test.cc
+++ b/
test/client_server_test.cc
@@
-70,9
+70,11
@@
BOOST_AUTO_TEST_CASE (client_server_test)
p += sub_image->stride()[0];
}
p += sub_image->stride()[0];
}
+ shared_ptr<FileLog> log (new FileLog ("build/test/client_server_test.log"));
+
shared_ptr<PlayerVideoFrame> pvf (
new PlayerVideoFrame (
shared_ptr<PlayerVideoFrame> pvf (
new PlayerVideoFrame (
- shared_ptr<ImageProxy> (new RawImageProxy (image)),
+ shared_ptr<ImageProxy> (new RawImageProxy (image
, log
)),
Crop (),
libdcp::Size (1998, 1080),
libdcp::Size (1998, 1080),
Crop (),
libdcp::Size (1998, 1080),
libdcp::Size (1998, 1080),
@@
-85,8
+87,6
@@
BOOST_AUTO_TEST_CASE (client_server_test)
pvf->set_subtitle (sub_image, Position<int> (50, 60));
pvf->set_subtitle (sub_image, Position<int> (50, 60));
- shared_ptr<FileLog> log (new FileLog ("build/test/client_server_test.log"));
-
shared_ptr<DCPVideoFrame> frame (
new DCPVideoFrame (
pvf,
shared_ptr<DCPVideoFrame> frame (
new DCPVideoFrame (
pvf,