diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-07-22 00:15:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-07-22 00:15:19 +0100 |
| commit | be793fb568c713a2e7aa1f703e69bfb553886b91 (patch) | |
| tree | 704f42874ffcedcd4e2b27a3ac54d163fe454f2f | |
| parent | 40749e968c74845de25826c4a6cadc98801ac546 (diff) | |
Use NR for rating in a ISDCF name if none is specified.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | src/lib/film.cc | 4 |
2 files changed, 7 insertions, 1 deletions
@@ -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; } } |
