From 80572044b4e613d5dd25894294d92b6d87f65ed3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 24 May 2016 09:55:53 +0100 Subject: Move namespaces into variables. --- src/cpl.cc | 7 +++++-- src/dcp.cc | 19 +++++++++++++------ 2 files changed, 18 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/cpl.cc b/src/cpl.cc index c408fe97..b96e15d2 100644 --- a/src/cpl.cc +++ b/src/cpl.cc @@ -45,6 +45,9 @@ using boost::optional; using boost::dynamic_pointer_cast; using namespace dcp; +static string const cpl_interop_ns = "http://www.digicine.com/PROTO-ASDCP-CPL-20040511#"; +static string const cpl_smpte_ns = "http://www.smpte-ra.org/schemas/429-7/2006/CPL"; + CPL::CPL (string annotation_text, ContentKind content_kind) : _annotation_text (annotation_text) /* default _content_title_text to _annotation_text */ @@ -110,9 +113,9 @@ CPL::write_xml (boost::filesystem::path file, Standard standard, shared_ptr