+ void set_position (DCPTime);
+
+ /** DCPTime that this content starts; i.e. the time that the first
+ * bit of the content (trimmed or not) will happen.
+ */
+ DCPTime position () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _position;
+ }
+
+ void set_trim_start (ContentTime);
+
+ ContentTime trim_start () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _trim_start;
+ }
+
+ void set_trim_end (ContentTime);
+
+ ContentTime trim_end () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _trim_end;
+ }
+
+ /** @return Time immediately after the last thing in this content */
+ DCPTime end () const {
+ return position() + length_after_trim();
+ }
+
+ DCPTime length_after_trim () const;
+
+ boost::optional<double> video_frame_rate () const {
+ boost::mutex::scoped_lock lm (_mutex);
+ return _video_frame_rate;
+ }
+
+ void set_video_frame_rate (double r);
+
+ double active_video_frame_rate () const;
+
+ void set_change_signals_frequent (bool f) {
+ _change_signals_frequent = f;
+ }
+
+ boost::shared_ptr<const Film> film () const;
+
+ std::list<UserProperty> user_properties () const;
+
+ boost::signals2::signal<void (boost::weak_ptr<Content>, int, bool)> Changed;
+
+ boost::shared_ptr<VideoContent> video;
+ boost::shared_ptr<AudioContent> audio;
+ boost::shared_ptr<SubtitleContent> subtitle;