From: Carl Hetherington Date: Mon, 30 Jun 2014 12:57:52 +0000 (+0100) Subject: Merge master. X-Git-Tag: v2.0.48~772 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=74fe68e5895654e27a7cf8097917c1e95fa89519 Merge master. --- 74fe68e5895654e27a7cf8097917c1e95fa89519 diff --cc ChangeLog index cb4d1c3c7,67a818f3e..12d262f4b --- a/ChangeLog +++ b/ChangeLog @@@ -1,7 -1,28 +1,32 @@@ +2014-03-07 Carl Hetherington + + * Add subtitle view. + + 2014-06-30 Carl Hetherington + + * Version 1.72.0 released. + + 2014-06-28 Carl Hetherington + + * Version 1.71.2 released. + + 2014-06-28 Carl Hetherington + + * Version 1.71.1 released. + + 2014-06-28 Carl Hetherington + + * Fix crash on analysing audio (and possibly DCP creation) with + resampled content. + + 2014-06-27 Carl Hetherington + + * Version 1.71.0 released. + + 2014-06-27 Carl Hetherington + + * Fix up/down buttons in content list. + 2014-06-26 Carl Hetherington * Version 1.70.1 released. diff --cc src/lib/playlist.cc index 710b9cc09,df3e63303..1c65d1326 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@@ -366,8 -362,9 +366,9 @@@ Playlist::move_earlier (shared_ptrposition (); + DCPTime const p = (*previous)->position (); (*previous)->set_position (p + c->length_after_trim ()); c->set_position (p); sort (_content.begin(), _content.end(), ContentSorter ()); @@@ -392,8 -389,25 +393,8 @@@ Playlist::move_later (shared_ptrposition (); + DCPTime const p = (*next)->position (); (*next)->set_position (c->position ()); - c->set_position (p + c->length_after_trim ()); + c->set_position (c->position() + c->length_after_trim ()); sort (_content.begin(), _content.end(), ContentSorter ()); } - -FrameRateChange -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) { - continue; - } - - if (vc->position() >= t && t < vc->end()) { - return FrameRateChange (vc->video_frame_rate(), dcp_video_frame_rate); - } - } - - return FrameRateChange (dcp_video_frame_rate, dcp_video_frame_rate); -}