summaryrefslogtreecommitdiff
path: root/src/reel_atmos_asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-13 23:36:22 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-13 23:36:22 +0200
commit488e3d1bd5e6b17d49f6db4df14c64f4b64db89b (patch)
tree641fcf167b845df6eca68c54fdf1110a7a07a739 /src/reel_atmos_asset.h
parent51ae14c7e304d4fbc8d7524d584f3f4762d51f67 (diff)
Remove ReelEncryptableAsset and tidy up a bit.
Diffstat (limited to 'src/reel_atmos_asset.h')
-rw-r--r--src/reel_atmos_asset.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/reel_atmos_asset.h b/src/reel_atmos_asset.h
index 8aaf6a59..2e4a8d4e 100644
--- a/src/reel_atmos_asset.h
+++ b/src/reel_atmos_asset.h
@@ -41,9 +41,8 @@
#define LIBDCP_REEL_ATMOS_ASSET_H
-#include "reel_asset.h"
+#include "reel_file_asset.h"
#include "atmos_asset.h"
-#include "reel_encryptable_asset.h"
namespace dcp {
@@ -55,7 +54,7 @@ class AtmosAsset;
/** @class ReelAtmosAsset
* @brief Part of a Reel's description which refers to a Atmos MXF
*/
-class ReelAtmosAsset : public ReelFileAsset, public ReelEncryptableAsset
+class ReelAtmosAsset : public ReelFileAsset
{
public:
ReelAtmosAsset (std::shared_ptr<AtmosAsset> asset, int64_t entry_point);
@@ -69,7 +68,9 @@ public:
bool equals (std::shared_ptr<const ReelAtmosAsset>, EqualityOptions, NoteHandler) const;
private:
- std::string key_type () const override;
+ boost::optional<std::string> key_type () const override {
+ return std::string("MDEK");
+ }
std::string cpl_node_name (Standard standard) const override;
std::pair<std::string, std::string> cpl_node_namespace () const override;
};