projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
588c523
)
Fix scaling test.
author
Carl Hetherington
<cth@carlh.net>
Fri, 21 Nov 2014 09:18:16 +0000
(09:18 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 21 Nov 2014 09:18:16 +0000
(09:18 +0000)
test/scaling_test.cc
patch
|
blob
|
history
diff --git
a/test/scaling_test.cc
b/test/scaling_test.cc
index e37b609495d2a9f085643e762dd94a5b477aef07..441af6bf30514ecb2eaaafa58ae7deea3ffdaa16 100644
(file)
--- a/
test/scaling_test.cc
+++ b/
test/scaling_test.cc
@@
-33,13
+33,12
@@
using boost::shared_ptr;
static void scaling_test_for (shared_ptr<Film> film, shared_ptr<VideoContent> content, string image, string container)
{
+ content->set_scale (VideoContentScale (Ratio::from_id (image)));
film->set_container (Ratio::from_id (container));
film->make_dcp ();
wait_for_jobs ();
- content->set_scale (VideoContentScale (Ratio::from_id (image)));
-
boost::filesystem::path ref;
ref = "test";
ref /= "data";