diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-13 23:36:22 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-13 23:36:22 +0200 |
| commit | 488e3d1bd5e6b17d49f6db4df14c64f4b64db89b (patch) | |
| tree | 641fcf167b845df6eca68c54fdf1110a7a07a739 /src/reel_smpte_subtitle_asset.h | |
| parent | 51ae14c7e304d4fbc8d7524d584f3f4762d51f67 (diff) | |
Remove ReelEncryptableAsset and tidy up a bit.
Diffstat (limited to 'src/reel_smpte_subtitle_asset.h')
| -rw-r--r-- | src/reel_smpte_subtitle_asset.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/reel_smpte_subtitle_asset.h b/src/reel_smpte_subtitle_asset.h index 8a7e0c24..aaff9a98 100644 --- a/src/reel_smpte_subtitle_asset.h +++ b/src/reel_smpte_subtitle_asset.h @@ -37,7 +37,6 @@ */ -#include "reel_encryptable_asset.h" #include "reel_subtitle_asset.h" #include "smpte_subtitle_asset.h" @@ -51,21 +50,19 @@ class SMPTESubtitleAsset; /** @class ReelSMPTESubtitleAsset * @brief Part of a Reel's description which refers to an SMPTE subtitle MXF file */ -class ReelSMPTESubtitleAsset : public ReelSubtitleAsset, public ReelEncryptableAsset +class ReelSMPTESubtitleAsset : public ReelSubtitleAsset { public: ReelSMPTESubtitleAsset (std::shared_ptr<SMPTESubtitleAsset> asset, Fraction edit_rate, int64_t intrinsic_duration, int64_t entry_point); explicit ReelSMPTESubtitleAsset (std::shared_ptr<const cxml::Node>); - xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const override; - std::shared_ptr<SMPTESubtitleAsset> smpte_asset () const { return std::dynamic_pointer_cast<SMPTESubtitleAsset>(asset()); } private: - std::string key_type () const { - return "MDSK"; + boost::optional<std::string> key_type () const override { + return std::string("MDSK"); } }; |
