summaryrefslogtreecommitdiff
path: root/src/reel_atmos_asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-09-13 10:33:27 +0100
committerCarl Hetherington <cth@carlh.net>2016-09-13 10:33:27 +0100
commitf40c9704ce44234558bba1ad15de42a50475f1e3 (patch)
tree23b9351c4996fe19a3f455ffc0915bcea58b6830 /src/reel_atmos_asset.cc
parentf7c73615a49d308040a4a5d40677ecab08c21841 (diff)
Various fixes to incorrect Atmos read/write wrt XML namespaces.
Diffstat (limited to 'src/reel_atmos_asset.cc')
-rw-r--r--src/reel_atmos_asset.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/reel_atmos_asset.cc b/src/reel_atmos_asset.cc
index f1f7d7f6..8726b39c 100644
--- a/src/reel_atmos_asset.cc
+++ b/src/reel_atmos_asset.cc
@@ -41,6 +41,8 @@
#include <libxml++/libxml++.h>
using std::string;
+using std::pair;
+using std::make_pair;
using boost::shared_ptr;
using namespace dcp;
@@ -53,6 +55,7 @@ ReelAtmosAsset::ReelAtmosAsset (boost::shared_ptr<AtmosAsset> asset, int64_t ent
ReelAtmosAsset::ReelAtmosAsset (boost::shared_ptr<const cxml::Node> node)
: ReelAsset (node)
{
+ node->ignore_child ("DataType");
node->done ();
}
@@ -62,6 +65,12 @@ ReelAtmosAsset::cpl_node_name () const
return "axd:AuxData";
}
+pair<string, string>
+ReelAtmosAsset::cpl_node_namespace () const
+{
+ return make_pair ("http://www.dolby.com/schemas/2012/AD", "axd");
+}
+
string
ReelAtmosAsset::key_type () const
{