diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-06-20 21:27:18 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-06-20 21:27:18 +0100 |
| commit | 70ea297c30c46ca6232512045512e9441464e99a (patch) | |
| tree | 1bb29b8388ea2b3f35ef740f729582e74ab3acbd /src/lib | |
| parent | 5fd5e78c51bd5630f6777001db5aa25103218c22 (diff) | |
Fix best_dcp_frame_rate.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/playlist.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index 9cc1789d1..995067b66 100644 --- 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) { |
