+ /** @return Time immediately after the last thing in this content */
+ dcpomatic::DCPTime end (std::shared_ptr<const Film> film) const {
+ return position() + length_after_trim(film);
+ }
+
+ dcpomatic::DCPTime length_after_trim (std::shared_ptr<const Film> film) 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);
+ void unset_video_frame_rate ();
+
+ double active_video_frame_rate (std::shared_ptr<const Film> film) const;
+
+ void set_change_signals_frequent (bool f) {
+ _change_signals_frequent = f;
+ }
+
+ std::list<UserProperty> user_properties (std::shared_ptr<const Film> film) const;
+
+ std::string calculate_digest () const;
+
+ /* ChangeType::PENDING and ChangeType::CANCELLED may be emitted from any thread; ChangeType::DONE always from GUI thread */
+ boost::signals2::signal<void (ChangeType, std::weak_ptr<Content>, int, bool)> Change;
+
+ std::shared_ptr<VideoContent> video;
+ std::shared_ptr<AudioContent> audio;
+ std::list<std::shared_ptr<TextContent>> text;
+ std::shared_ptr<AtmosContent> atmos;
+
+ std::shared_ptr<TextContent> only_text () const;
+ std::shared_ptr<TextContent> text_of_original_type (TextType type) const;