summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-03-06 22:01:45 +0000
committerCarl Hetherington <cth@carlh.net>2014-03-06 22:01:45 +0000
commit7e479483826381699915aa90cc26736e3d2c76ed (patch)
tree40ce6ee1a2ec6c726701bf70320931fe2d761c1f /src/tools
parent79ce26d031d109177ba4b0f637fa2960345a37a3 (diff)
Build fixes.
Diffstat (limited to 'src/tools')
-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 36e04120e..1b985a918 100644
--- a/src/tools/dcpomatic_create.cc
+++ b/src/tools/dcpomatic_create.cc
@@ -190,7 +190,7 @@ main (int argc, char* argv[])
for (ContentList::iterator i = content.begin(); i != content.end(); ++i) {
shared_ptr<ImageContent> ic = dynamic_pointer_cast<ImageContent> (*i);
if (ic) {
- ic->set_video_length (still_length * 24);
+ ic->set_video_length (ContentTime::from_seconds (still_length));
}
}