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 3b8199f301ce75d56ec5bde0c730229b4a1b913d..7c9c4e5fbe4858940e05d51e42e4faf3f49c8f8a 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 ()) {