summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-08-25 13:34:52 +0100
committerCarl Hetherington <cth@carlh.net>2013-08-25 13:34:52 +0100
commit5384418af0299194ecf3e27fd2e443e7d882a713 (patch)
treef98eb2909e4601d56774d1c23119b23aa91ecdb6 /src
parentb3e7a9625f860e7d83c4077b24fe811eb9941456 (diff)
Tidy up interop API.
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc2
-rw-r--r--src/dcp.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 1658200b..30a3c3a4 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -64,7 +64,7 @@ DCP::DCP (string directory)
}
void
-DCP::write_xml (XMLMetadata const & metadata, bool interop, shared_ptr<Encryption> crypt) const
+DCP::write_xml (bool interop, XMLMetadata const & metadata, shared_ptr<Encryption> crypt) const
{
for (list<shared_ptr<CPL> >::const_iterator i = _cpls.begin(); i != _cpls.end(); ++i) {
(*i)->write_xml (interop, metadata, crypt);
diff --git a/src/dcp.h b/src/dcp.h
index 60faeb73..d6237e8a 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -78,7 +78,7 @@ public:
/** Write the required XML files to the directory that was
* passed into the constructor.
*/
- void write_xml (XMLMetadata const &, bool interop = false, boost::shared_ptr<Encryption> crypt = boost::shared_ptr<Encryption> ()) const;
+ void write_xml (bool interop, XMLMetadata const &, boost::shared_ptr<Encryption> crypt = boost::shared_ptr<Encryption> ()) const;
/** Compare this DCP with another, according to various options.
* @param other DCP to compare this one to.