projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5e1a48
)
Missing language from test causing Clairmeta to give an error.
v2.18.10
author
Carl Hetherington
<cth@carlh.net>
Sat, 1 Feb 2025 17:16:43 +0000
(18:16 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 3 Feb 2025 00:32:04 +0000
(
01:32
+0100)
I don't know why this wasn't a problem before; perhaps the subtitle
was entirely discarded as it goes to 10s but in the metadata the
length is only 6.351.
test/subtitle_font_id_change_test.cc
patch
|
blob
|
history
diff --git
a/test/subtitle_font_id_change_test.cc
b/test/subtitle_font_id_change_test.cc
index 17d7327726e647cabe5b975ba0a23463f4616961..9d5f9020f84f69c261011e67147365680b3ed3db 100644
(file)
--- a/
test/subtitle_font_id_change_test.cc
+++ b/
test/subtitle_font_id_change_test.cc
@@
-80,6
+80,7
@@
BOOST_AUTO_TEST_CASE(subtitle_font_id_change_test2)
* which obscures the point of this test.
*/
content[0]->_last_write_times[0] = boost::filesystem::last_write_time("test/data/short.srt");
+ content[0]->only_text()->set_language(dcp::LanguageTag("de"));
CheckContentJob check(film);
check.run();