X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_create.cc;h=b0a67c6d93d5630fc919731ff251114c292f2690;hp=c30f4e51e7fc66c7963f3aaa2f65b3c7b9c1296d;hb=4e411ea97b4dab8a5fa282d1d4cf7971ef1e24ad;hpb=66162217d93baa3fd50594bb013a44bbd779d02a diff --git a/src/tools/dcpomatic_create.cc b/src/tools/dcpomatic_create.cc index c30f4e51e..b0a67c6d9 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 ic = dynamic_pointer_cast (*i); if (ic) { - ic->set_video_length (still_length * 24); + ic->set_video_length (ContentTime::from_seconds (still_length)); } }