projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5fd5e78
)
Fix best_dcp_frame_rate.
author
Carl Hetherington
<cth@carlh.net>
Thu, 20 Jun 2013 20:27:18 +0000
(21:27 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 20 Jun 2013 20:27:18 +0000
(21:27 +0100)
src/lib/playlist.cc
patch
|
blob
|
history
diff --git
a/src/lib/playlist.cc
b/src/lib/playlist.cc
index 9cc1789d135d5c38a66e416b4c90888421d7142e..995067b66ee7bf7133f6d0b025c70f381869dd1e 100644
(file)
--- a/
src/lib/playlist.cc
+++ b/
src/lib/playlist.cc
@@
-232,7
+232,7
@@
Playlist::best_dcp_frame_rate () const
list<FrameRateCandidate>::iterator i = candidates.begin();
while (i != candidates.end()) {
- float this_error =
std::numeric_limits<float>::max ()
;
+ float this_error =
0
;
for (ContentList::const_iterator j = _content.begin(); j != _content.end(); ++j) {
shared_ptr<VideoContent> vc = dynamic_pointer_cast<VideoContent> (*j);
if (!vc) {