summaryrefslogtreecommitdiff
path: root/src/lib/config.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-26 22:51:54 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-26 22:51:54 +0000
commitb1873c51b2e8265a01a8f0eced7fc3465f1677dc (patch)
treed0eb1d779f6f9e145e57693162af06a2390e84fb /src/lib/config.cc
parent494b6ee180e531358bab39e72f6123e90f9314e5 (diff)
parentd641aee73077e93ca17b30acd5b9ed82f1e14cb9 (diff)
Merge master into direct-mxf.
Diffstat (limited to 'src/lib/config.cc')
-rw-r--r--src/lib/config.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index 307b96844..c165859b0 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -90,6 +90,8 @@ Config::Config ()
} else if (k == "sound_processor") {
_sound_processor = SoundProcessor::from_id (v);
}
+
+ _default_dci_metadata.read (k, v);
}
}
@@ -136,7 +138,9 @@ Config::write () const
f << "tms_path " << _tms_path << "\n";
f << "tms_user " << _tms_user << "\n";
f << "tms_password " << _tms_password << "\n";
- f << "sound_processor " << _sound_processor->id ();
+ f << "sound_processor " << _sound_processor->id () << "\n";
+
+ _default_dci_metadata.write (f);
}
string