+
+void
+VideoContent::take_settings_from (shared_ptr<const VideoContent> c)
+{
+ _colour_conversion = c->_colour_conversion;
+ _frame_type = c->_frame_type;
+ _crop = c->_crop;
+ _scale = c->_scale;
+ _fade_in = c->_fade_in;
+ _fade_out = c->_fade_out;
+}
+
+void
+VideoContent::modify_position (DCPTime& pos) const
+{
+ pos = pos.ceil (_parent->film()->video_frame_rate());
+}
+
+void
+VideoContent::modify_trim_start (ContentTime& trim) const
+{
+ if (_parent->video_frame_rate()) {
+ trim = trim.ceil (_parent->video_frame_rate().get());
+ }
+}