projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Split audio; builds.
[dcpomatic.git]
/
test
/
repeat_frame_test.cc
diff --git
a/test/repeat_frame_test.cc
b/test/repeat_frame_test.cc
index 2e325af25a102f12aead78ba9c9570c14b7ad611..cba5e0582da30a7c314b3ae8b6aa7269d18ed678 100644
(file)
--- a/
test/repeat_frame_test.cc
+++ b/
test/repeat_frame_test.cc
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2013-201
4
Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-201
6
Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-30,6
+30,7
@@
#include "lib/ratio.h"
#include "lib/ffmpeg_content.h"
#include "lib/dcp_content_type.h"
#include "lib/ratio.h"
#include "lib/ffmpeg_content.h"
#include "lib/dcp_content_type.h"
+#include "lib/video_content.h"
using boost::shared_ptr;
using boost::shared_ptr;
@@
-44,7
+45,7
@@
BOOST_AUTO_TEST_CASE (repeat_frame_test)
wait_for_jobs ();
wait_for_jobs ();
- c->set_scale (VideoContentScale (Ratio::from_id ("185")));
+ c->
video->
set_scale (VideoContentScale (Ratio::from_id ("185")));
film->set_video_frame_rate (48);
film->make_dcp ();
film->set_video_frame_rate (48);
film->make_dcp ();
@@
-53,4
+54,3
@@
BOOST_AUTO_TEST_CASE (repeat_frame_test)
/* Should be 32 frames of red */
check_dcp ("test/data/repeat_frame_test", film->dir (film->dcp_name ()));
}
/* Should be 32 frames of red */
check_dcp ("test/data/repeat_frame_test", film->dir (film->dcp_name ()));
}
-