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_asset.h | |
| parent | 51ae14c7e304d4fbc8d7524d584f3f4762d51f67 (diff) | |
Remove ReelEncryptableAsset and tidy up a bit.
Diffstat (limited to 'src/reel_asset.h')
| -rw-r--r-- | src/reel_asset.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/reel_asset.h b/src/reel_asset.h index 00355335..ab06434e 100644 --- a/src/reel_asset.h +++ b/src/reel_asset.h @@ -83,7 +83,11 @@ public: explicit ReelAsset (std::shared_ptr<const cxml::Node>); - virtual xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const = 0; + virtual xmlpp::Node* write_to_cpl (xmlpp::Node* node, Standard standard) const; + + virtual bool encryptable () const { + return false; + } Fraction edit_rate () const { return _edit_rate; @@ -139,8 +143,6 @@ protected: /** @return Any namespace that should be used on the asset's node in the CPL */ virtual std::pair<std::string, std::string> cpl_node_namespace () const; - xmlpp::Node* write_to_cpl_asset (xmlpp::Node* node, Standard standard, boost::optional<std::string> hash) const; - int64_t _intrinsic_duration = 0; ///< The <IntrinsicDuration> from the reel's entry for this asset boost::optional<int64_t> _duration; ///< The <Duration> from the reel's entry for this asset, if present |
