diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-27 11:45:11 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-27 11:45:11 +0200 |
| commit | c1d32ccfc586d0292ca4ec35a03fb403c3c45a07 (patch) | |
| tree | cc9d6f45d6c6d8d76197486d1aa3eca7e72986c5 /src/smpte_subtitle_asset.h | |
| parent | 3e866abeee4de737a04719ff8ab6c6bf46bb4d74 (diff) | |
Read the bits we can from the MXF header even when it is encrypted.
Diffstat (limited to 'src/smpte_subtitle_asset.h')
| -rw-r--r-- | src/smpte_subtitle_asset.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/smpte_subtitle_asset.h b/src/smpte_subtitle_asset.h index 1ece2405..f63392c7 100644 --- a/src/smpte_subtitle_asset.h +++ b/src/smpte_subtitle_asset.h @@ -180,7 +180,7 @@ public: return _xml_id; } - /** @return ResourceID read from the MXF, if there was one */ + /** @return ResourceID read from any MXF that was read */ boost::optional<std::string> resource_id () const { return _resource_id; } @@ -204,7 +204,8 @@ private: void read_fonts (std::shared_ptr<ASDCP::TimedText::MXFReader>); void parse_xml (std::shared_ptr<cxml::Document> xml); - void read_mxf_descriptor (std::shared_ptr<ASDCP::TimedText::MXFReader> reader, std::shared_ptr<DecryptionContext> dec); + void read_mxf_descriptor (std::shared_ptr<ASDCP::TimedText::MXFReader> reader); + void read_mxf_resources (std::shared_ptr<ASDCP::TimedText::MXFReader> reader, std::shared_ptr<DecryptionContext> dec); /** The total length of this content in video frames. The amount of * content presented may be less than this. |
