projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8f8120
)
Fix build with new libdcp.
author
Carl Hetherington
<cth@carlh.net>
Mon, 17 Jan 2022 19:31:00 +0000
(20:31 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 17 Jan 2022 19:31:10 +0000
(20:31 +0100)
src/lib/dcp_examiner.cc
patch
|
blob
|
history
diff --git
a/src/lib/dcp_examiner.cc
b/src/lib/dcp_examiner.cc
index 9d196a684f36d8cdf49e1392af81108ec59d5ebb..f671504490c719329049bf0211bbb277e50cd9e4 100644
(file)
--- a/
src/lib/dcp_examiner.cc
+++ b/
src/lib/dcp_examiner.cc
@@
-216,7
+216,7
@@
DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content, bool tolerant)
LOG_GENERAL ("Closed caption %1 of reel %2 found", j->id(), i->id());
_text_count[static_cast<int>(TextType::CLOSED_CAPTION)]++;
- _dcp_text_tracks.push_back (DCPTextTrack(j->annotation_text(), try_to_parse_language(j->language())));
+ _dcp_text_tracks.push_back (DCPTextTrack(j->annotation_text()
.get_value_or("")
, try_to_parse_language(j->language())));
}
if (i->main_markers ()) {