diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-08-15 16:54:40 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-08-15 16:54:40 +0200 |
| commit | fdf2d34c513dcf3ab36295e69e7e0c0766789ded (patch) | |
| tree | ced43a975749b21ec15d4fa5a2b1b7c18b6612f3 /src/cpl.h | |
| parent | f13d0a886e36977c13bb41f915e75ad9db8ba850 (diff) | |
Stop assuming that the presence of FullContentTitleText means that there was CPL metadata.
Diffstat (limited to 'src/cpl.h')
| -rw-r--r-- | src/cpl.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -328,6 +328,13 @@ public: return _standard; } + /** @return true iff this CPL was read from a file and it contained + * a CompositionMetadataAsset node. + */ + bool read_composition_metadata() const { + return _read_composition_metadata; + } + static std::string static_pkl_type (Standard standard); protected: @@ -373,6 +380,7 @@ private: /* See note for _release_territory above */ std::vector<std::string> _additional_subtitle_languages; boost::optional<std::string> _sign_language_video_language; + bool _read_composition_metadata = false; std::vector<std::shared_ptr<Reel>> _reels; |
