X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Freel_sound_asset.cc;h=55167d827b3e7c704e6062f882a31883b7699392;hb=6d52a032276e7de4bf1c8630f5a9c1b35b0173d7;hp=984434ddc26d93b8a49c59ac1f3309e8451afa8e;hpb=bfb33feb40c5b014e9eae3958b1ecb8161f1d090;p=libdcp.git diff --git a/src/reel_sound_asset.cc b/src/reel_sound_asset.cc index 984434dd..55167d82 100644 --- a/src/reel_sound_asset.cc +++ b/src/reel_sound_asset.cc @@ -28,14 +28,14 @@ using std::string; using boost::shared_ptr; using namespace dcp; -ReelSoundAsset::ReelSoundAsset (boost::shared_ptr content, int64_t entry_point) - : ReelAsset (content, entry_point) +ReelSoundAsset::ReelSoundAsset (shared_ptr content, int64_t entry_point) + : ReelMXFAsset (content, content->edit_rate(), content->intrinsic_duration(), entry_point) { } -ReelSoundAsset::ReelSoundAsset (boost::shared_ptr node) - : ReelAsset (node) +ReelSoundAsset::ReelSoundAsset (shared_ptr node) + : ReelMXFAsset (node) { node->ignore_child ("Language"); node->done (); @@ -46,3 +46,9 @@ ReelSoundAsset::cpl_node_name () const { return "MainSound"; } + +string +ReelSoundAsset::key_type () const +{ + return "MDAK"; +}