summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-05-19 00:08:38 +0100
committerCarl Hetherington <cth@carlh.net>2013-05-19 00:08:38 +0100
commita976a7222842b5506ab7451297675e5e1777b744 (patch)
tree415350ab8cee014b95e0f3d7aeed6e78c85a9597 /src/lib
parent8876defcb2786b4211c9857508c042902a677c4b (diff)
ChangeLog; fix default format on set_content.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 0ca374604..81c7de77f 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -987,14 +987,7 @@ Film::set_content (string c)
}
/* Default format */
- switch (content_type()) {
- case STILL:
- set_format (Format::from_id ("var-185"));
- break;
- case VIDEO:
- set_format (Format::from_id ("185"));
- break;
- }
+ set_format (Config::instance()->default_format ());
/* Still image DCPs must use external audio */
if (content_type() == STILL) {