projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use a vector rather than a list when returning from content_factory().
[dcpomatic.git]
/
test
/
subtitle_timing_test.cc
diff --git
a/test/subtitle_timing_test.cc
b/test/subtitle_timing_test.cc
index e8d4b07fe51e01c4b54f9e02df2f38957113ecf7..68881aea89b81df332e4e11b1c6e120245f4f1e1 100644
(file)
--- a/
test/subtitle_timing_test.cc
+++ b/
test/subtitle_timing_test.cc
@@
-40,8
+40,8
@@
BOOST_AUTO_TEST_CASE (test_subtitle_timing_with_frame_rate_change)
constexpr auto content_frame_rate = 29.976f;
const std::string name = "test_subtitle_timing_with_frame_rate_change";
constexpr auto content_frame_rate = 29.976f;
const std::string name = "test_subtitle_timing_with_frame_rate_change";
- auto picture = content_factory("test/data/flat_red.png")
.front()
;
- auto sub = content_factory("test/data/hour.srt")
.front()
;
+ auto picture = content_factory("test/data/flat_red.png")
[0]
;
+ auto sub = content_factory("test/data/hour.srt")
[0]
;
sub->text.front()->set_language(dcp::LanguageTag("en-GB"));
picture->set_video_frame_rate (content_frame_rate);
sub->text.front()->set_language(dcp::LanguageTag("en-GB"));
picture->set_video_frame_rate (content_frame_rate);