projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfd4beb
)
Fix initial video length of stills.
author
Carl Hetherington
<cth@carlh.net>
Fri, 21 Mar 2014 09:40:44 +0000
(09:40 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Fri, 21 Mar 2014 09:40:44 +0000
(09:40 +0000)
src/lib/image_examiner.cc
patch
|
blob
|
history
diff --git
a/src/lib/image_examiner.cc
b/src/lib/image_examiner.cc
index 4cba788bdd5bb900a6436e4325092a86777a1e06..9ceb7b896515da1f983503d7aa2f0663319ef57a 100644
(file)
--- a/
src/lib/image_examiner.cc
+++ b/
src/lib/image_examiner.cc
@@
-46,7
+46,7
@@
ImageExaminer::ImageExaminer (shared_ptr<const Film> film, shared_ptr<const Imag
delete image;
if (content->still ()) {
- _video_length = ContentTime (Config::instance()->default_still_length());
+ _video_length = ContentTime
::from_seconds
(Config::instance()->default_still_length());
} else {
_video_length = ContentTime (double (_image_content->number_of_paths ()) / video_frame_rate ());
}