diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-19 00:08:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-19 00:08:38 +0100 |
| commit | a976a7222842b5506ab7451297675e5e1777b744 (patch) | |
| tree | 415350ab8cee014b95e0f3d7aeed6e78c85a9597 | |
| parent | 8876defcb2786b4211c9857508c042902a677c4b (diff) | |
ChangeLog; fix default format on set_content.
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | src/lib/film.cc | 9 |
2 files changed, 6 insertions, 8 deletions
@@ -1,3 +1,8 @@ +2013-05-19 Carl Hetherington <cth@carlh.net> + + * Hopefully fix load of decimal values (e.g. frame rates) + in non-English locales on Windows. + 2013-05-17 Carl Hetherington <cth@carlh.net> * Version 0.90 released. 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) { |
