Use a default DCP name if none is specified, rather than giving an error.
authorCarl Hetherington <cth@carlh.net>
Tue, 1 Aug 2017 23:37:54 +0000 (00:37 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 1 Aug 2017 23:37:54 +0000 (00:37 +0100)
src/lib/film.cc

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