From 60df561ea1c0e9dc108b6f117fa544df034489b0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 16 Oct 2012 16:20:40 +0100 Subject: [PATCH] Limit name part of DCI name to 14 characters. --- src/lib/film_state.cc | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.30.2