summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-07-22 00:15:19 +0100
committerCarl Hetherington <cth@carlh.net>2015-07-22 00:15:19 +0100
commitbe793fb568c713a2e7aa1f703e69bfb553886b91 (patch)
tree704f42874ffcedcd4e2b27a3ac54d163fe454f2f
parent40749e968c74845de25826c4a6cadc98801ac546 (diff)
Use NR for rating in a ISDCF name if none is specified.
-rw-r--r--ChangeLog4
-rw-r--r--src/lib/film.cc4
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fd0466ffc..79453fc4c 100644
--- 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).
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 27ff07537..f87764da0 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -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;
}
}