diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-10-16 16:20:40 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-10-16 16:20:40 +0100 |
| commit | 60df561ea1c0e9dc108b6f117fa544df034489b0 (patch) | |
| tree | 3a47e536b166c07946bd26df47a88bc2e4b43749 /src/lib | |
| parent | 6d45d4e3e52e60e63d5b1f238d9d71ca73e6a274 (diff) | |
Limit name part of DCI name to 14 characters.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/film_state.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/film_state.cc b/src/lib/film_state.cc index 6f1c47fea..ca43790f2 100644 --- a/src/lib/film_state.cc +++ b/src/lib/film_state.cc @@ -367,6 +367,10 @@ FilmState::dci_name () const } } + if (fixed_name.length() > 14) { + fixed_name = fixed_name.substr (0, 14); + } + d << fixed_name << "_"; if (dcp_content_type) { |
