diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-01-17 20:31:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-17 20:31:10 +0100 |
| commit | b082cebf0bea15ea94a5be9eda6de2f5eb8cf3dd (patch) | |
| tree | 1ccaa1d37e8a9cb11046c3e891f531cb483946f1 | |
| parent | d8f812067f07204da3a3eed81b127b9062d64012 (diff) | |
Fix build with new libdcp.
| -rw-r--r-- | src/lib/dcp_examiner.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc index 9d196a684..f67150449 100644 --- 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 ()) { |
