projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d45d4e
)
Limit name part of DCI name to 14 characters.
author
Carl Hetherington
<cth@carlh.net>
Tue, 16 Oct 2012 15:20:40 +0000
(16:20 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Tue, 16 Oct 2012 15:20:40 +0000
(16:20 +0100)
src/lib/film_state.cc
patch
|
blob
|
history
diff --git
a/src/lib/film_state.cc
b/src/lib/film_state.cc
index 6f1c47fea11cb40a117551b770d05b03276e00c2..ca43790f23edc9179c476df5bad53a0c7941d405 100644
(file)
--- 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) {