+2014-03-07 Carl Hetherington <cth@carlh.net>
+
+ * Add subtitle view.
+
+ 2014-06-30 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.72.0 released.
+
+ 2014-06-28 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.71.2 released.
+
+ 2014-06-28 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.71.1 released.
+
+ 2014-06-28 Carl Hetherington <cth@carlh.net>
+
+ * Fix crash on analysing audio (and possibly DCP creation) with
+ resampled content.
+
+ 2014-06-27 Carl Hetherington <cth@carlh.net>
+
+ * Version 1.71.0 released.
+
+ 2014-06-27 Carl Hetherington <cth@carlh.net>
+
+ * Fix up/down buttons in content list.
+
2014-06-26 Carl Hetherington <cth@carlh.net>
* Version 1.70.1 released.
if (previous == _content.end ()) {
return;
}
+
- Time const p = (*previous)->position ();
+ DCPTime const p = (*previous)->position ();
(*previous)->set_position (p + c->length_after_trim ());
c->set_position (p);
sort (_content.begin(), _content.end(), ContentSorter ());
return;
}
- Time const p = (*next)->position ();
+ 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<const VideoContent> vc = dynamic_pointer_cast<const VideoContent> (*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);
-}