diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-28 20:12:51 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-17 12:57:31 +0200 |
| commit | 06c28c700f0a398a3289c4adfa83ceb2d0fc999d (patch) | |
| tree | 00b58dcb854767d037e166a804360b4c19e034e9 /src/reel_smpte_text_asset.h | |
| parent | b64644327bff333569bf4a60f1d7c3d46f058b48 (diff) | |
Merge ReelClosedCaptionAsset into ReelTextAsset.
Diffstat (limited to 'src/reel_smpte_text_asset.h')
| -rw-r--r-- | src/reel_smpte_text_asset.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/reel_smpte_text_asset.h b/src/reel_smpte_text_asset.h index 6eb3260d..24344a3a 100644 --- a/src/reel_smpte_text_asset.h +++ b/src/reel_smpte_text_asset.h @@ -53,7 +53,7 @@ class SMPTESubtitleAsset; class ReelSMPTETextAsset : public ReelTextAsset { public: - ReelSMPTETextAsset(std::shared_ptr<SMPTESubtitleAsset> asset, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point); + ReelSMPTETextAsset(TextType type, std::shared_ptr<SMPTESubtitleAsset> asset, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point); explicit ReelSMPTETextAsset(std::shared_ptr<const cxml::Node>); std::shared_ptr<const SMPTESubtitleAsset> smpte_asset () const { @@ -64,6 +64,12 @@ public: return asset_of_type<SMPTESubtitleAsset>(); } + xmlpp::Element* write_to_cpl(xmlpp::Element* node, Standard standard) const override; + +protected: + std::string cpl_node_name (Standard standard) const override; + std::pair<std::string, std::string> cpl_node_namespace() const override; + private: boost::optional<std::string> key_type () const override { return std::string("MDSK"); |
