From c33fc4d10ee3a3b62ccc1b8122c791d4dfd61a60 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 18 Jun 2014 13:29:43 +0100 Subject: Fix awful thinko causing Playlist::active_frame_rate_change to return the wrong thing sometimes. --- ChangeLog | 4 ++++ src/lib/playlist.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e6bc2126c..d0f8d7b3d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-06-18 Carl Hetherington + + * Fix thinko causing incorrect audio sample rates in some cases. + 2014-06-15 Carl Hetherington * Version 1.69.28 released. diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index 247c4837b..dc87fbfab 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -404,7 +404,7 @@ Playlist::active_frame_rate_change (Time t, int dcp_video_frame_rate) const for (ContentList::const_iterator i = _content.begin(); i != _content.end(); ++i) { shared_ptr vc = dynamic_pointer_cast (*i); if (!vc) { - break; + continue; } if (vc->position() >= t && t < vc->end()) { -- cgit v1.2.3