summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_create.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/dcpomatic_create.cc')
-rw-r--r--src/tools/dcpomatic_create.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc
index bd059e9f8..caaba6b38 100644
--- a/src/tools/dcpomatic_create.cc
+++ b/src/tools/dcpomatic_create.cc
@@ -184,7 +184,7 @@ main (int argc, char* argv[])
for (auto i: film->content()) {
auto ic = dynamic_pointer_cast<ImageContent> (i);
if (ic && ic->still()) {
- ic->video->set_length (cc.still_length * 24);
+ ic->video->set_length(cc.still_length.get_value_or(10) * 24);
}
}