projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow DCP content type from template to work.
[dcpomatic.git]
/
test
/
required_disk_space_test.cc
diff --git
a/test/required_disk_space_test.cc
b/test/required_disk_space_test.cc
index 8a35ce9022bb3a99875020e38895329d084d21d8..fad24389bfde51117f7d996caaf358dd37433ef5 100644
(file)
--- a/
test/required_disk_space_test.cc
+++ b/
test/required_disk_space_test.cc
@@
-34,7
+34,6
@@
using std::dynamic_pointer_cast;
using std::make_shared;
using std::dynamic_pointer_cast;
using std::make_shared;
-using std::shared_ptr;
void check_within_n (int64_t a, int64_t b, int64_t n)
void check_within_n (int64_t a, int64_t b, int64_t n)
@@
-59,8
+58,8
@@
BOOST_AUTO_TEST_CASE (required_disk_space_test)
check_within_n (
film->required_disk_space(),
check_within_n (
film->required_disk_space(),
- 28
9
LL * (100000000 / 8) / 24 + // video
- 28
9
LL * 48000 * 6 * 3 / 24 + // audio
+ 28
8
LL * (100000000 / 8) / 24 + // video
+ 28
8
LL * 48000 * 6 * 3 / 24 + // audio
65536, // extra
16
);
65536, // extra
16
);
@@
-70,7
+69,7
@@
BOOST_AUTO_TEST_CASE (required_disk_space_test)
check_within_n (
film->required_disk_space(),
240LL * (100000000 / 8) / 24 + // video
check_within_n (
film->required_disk_space(),
240LL * (100000000 / 8) / 24 + // video
- 28
9
LL * 48000 * 6 * 3 / 24 + // audio
+ 28
8
LL * 48000 * 6 * 3 / 24 + // audio
65536, // extra
16
);
65536, // extra
16
);