summaryrefslogtreecommitdiff
path: root/test/player_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-08-10 16:38:33 +0100
committerCarl Hetherington <cth@carlh.net>2016-08-12 09:13:51 +0100
commitb1dc9c3a2f7e55c9afc5bf2d5b465371b048e14f (patch)
tree9968238c6c0511f044e6fcdb4abcc08b5eb28f27 /test/player_test.cc
parent4a0ae92e28d7d1f0dd648d1b620efc324fdef161 (diff)
Remove all use of stringstream in an attempt to fix
the suspected thread-unsafe crash bugs on OS X.
Diffstat (limited to 'test/player_test.cc')
-rw-r--r--test/player_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/player_test.cc b/test/player_test.cc
index 1b628f72a..57db3d778 100644
--- a/test/player_test.cc
+++ b/test/player_test.cc
@@ -58,7 +58,7 @@ BOOST_AUTO_TEST_CASE (player_overlaps_test)
film->examine_and_add_content (C);
wait_for_jobs ();
- BOOST_CHECK_EQUAL (A->full_length(), DCPTime (288000));
+ BOOST_CHECK_EQUAL (A->full_length().get(), 288000);
A->set_position (DCPTime::from_seconds (0));
B->set_position (DCPTime::from_seconds (10));