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