Make up a DCP name rather than giving an error.
authorCarl Hetherington <cth@carlh.net>
Tue, 1 Aug 2017 23:25:41 +0000 (00:25 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 1 Aug 2017 23:25:41 +0000 (00:25 +0100)
src/lib/film.cc

index 0e244c3..3b8199f 100644 (file)
@@ -309,7 +309,7 @@ Film::make_dcp ()
        }
 
        if (name().empty()) {
-               throw MissingSettingError (_("name"));
+               _name = "DCP";
        }
 
        BOOST_FOREACH (shared_ptr<const Content> i, content ()) {