Use NR for rating in a ISDCF name if none is specified.
authorCarl Hetherington <cth@carlh.net>
Tue, 21 Jul 2015 23:15:19 +0000 (00:15 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 21 Jul 2015 23:15:19 +0000 (00:15 +0100)
ChangeLog
src/lib/film.cc

index fd0466ffccf98ebb67480a9be4e4f49a662d4d86..79453fc4c972522d81d301564ab2bb3bef1cabfc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-07-22  Carl Hetherington  <cth@carlh.net>
+
+       * Use NR for rating an in ISDCF name if none is specified.
+
 2015-07-21  Carl Hetherington  <cth@carlh.net>
 
        * Fix incorrect conversion of audio from DCP sources (#642).
index 27ff07537fd834a3a9e144f46fe425a7c0ea23fe..f87764da0c2d3300a4b2df6191d669cb6d970440 100644 (file)
@@ -591,7 +591,9 @@ Film::isdcf_name (bool if_created_now) const
 
        if (!dm.territory.empty ()) {
                d << "_" << dm.territory;
-               if (!dm.rating.empty ()) {
+               if (dm.rating.empty ()) {
+                       d << "-NR";
+               } else {
                        d << "-" << dm.rating;
                }
        }