diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-12-18 14:49:57 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-12-18 14:49:57 +0000 |
| commit | c226f90a2c113b8bbc270f29e6aa035ae1229d57 (patch) | |
| tree | 34609bf4e6f220185de5ec3e1ce381f8e41016bb /test/test.cc | |
| parent | 060a980527bc0b39e12494fec3c0baaab4c9d086 (diff) | |
Repeat frames rather than using black for missing frames when we're inside some content.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.cc b/test/test.cc index 92ce95656..df2cb1c4b 100644 --- a/test/test.cc +++ b/test/test.cc @@ -95,10 +95,10 @@ new_test_film (string name) } static void -check_file (string ref, string check) +check_file (boost::filesystem::path ref, boost::filesystem::path check) { uintmax_t N = boost::filesystem::file_size (ref); - BOOST_CHECK_EQUAL (N, boost::filesystem::file_size(check)); + BOOST_CHECK_EQUAL (N, boost::filesystem::file_size (check)); FILE* ref_file = fopen (ref.c_str(), "rb"); BOOST_CHECK (ref_file); FILE* check_file = fopen (check.c_str(), "rb"); @@ -135,7 +135,7 @@ note (libdcp::NoteType t, string n) } void -check_dcp (string ref, string check) +check_dcp (boost::filesystem::path ref, boost::filesystem::path check) { libdcp::DCP ref_dcp (ref); ref_dcp.read (); |
