summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-17 20:31:00 +0100
committerCarl Hetherington <cth@carlh.net>2022-01-17 20:31:00 +0100
commit200e92e7e23838866b4452c7a1f789f445a0d2be (patch)
treeef6c294305792d1e2e9daca08c721f7536278e2f /src
parentdf34292525addcd497aed990fd606186b6ff5dbd (diff)
Fix build with new libdcp.
Diffstat (limited to 'src')
-rw-r--r--src/lib/dcp_examiner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc
index 219c3ee6e..857f26232 100644
--- a/src/lib/dcp_examiner.cc
+++ b/src/lib/dcp_examiner.cc
@@ -210,7 +210,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 ()) {