summaryrefslogtreecommitdiff
path: root/src/lib/config.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-16 23:36:16 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-16 23:36:16 +0000
commite9ee53e42d7f8bbcd2a454ee9de5f3e66ec06b03 (patch)
tree10aaec3604bf0a8770fea1ffd322d82714a31c51 /src/lib/config.cc
parentc7292767fe4935da750423461a41224b3e0a8e37 (diff)
Add some tests and hopefully clarify the DCPFrameRate class.
Diffstat (limited to 'src/lib/config.cc')
-rw-r--r--src/lib/config.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc
index 65d01bf00..307b96844 100644
--- a/src/lib/config.cc
+++ b/src/lib/config.cc
@@ -44,6 +44,10 @@ Config::Config ()
, _tms_path (".")
, _sound_processor (SoundProcessor::from_id ("dolby_cp750"))
{
+ _allowed_dcp_frame_rates.push_back (24);
+ _allowed_dcp_frame_rates.push_back (25);
+ _allowed_dcp_frame_rates.push_back (30);
+
ifstream f (file().c_str ());
string line;
while (getline (f, line)) {