- Time length () const;
-
- int best_dcp_frame_rate () const;
- Time video_end () const;
- FrameRateChange active_frame_rate_change (Time, int dcp_frame_rate) const;
-
- void set_sequence_video (bool);
- void maybe_sequence_video ();
-
- void repeat (ContentList, int);
-
- /** Emitted when content has been added to or removed from the playlist */
- mutable boost::signals2::signal<void ()> Changed;
- /** Emitted when something about a piece of our content has changed;
- * these emissions include when the position of the content changes.
- * Third parameter is true if signals are currently being emitted frequently.
- */
- mutable boost::signals2::signal<void (boost::weak_ptr<Content>, int, bool)> ContentChanged;
-
+ dcpomatic::DCPTime length (std::shared_ptr<const Film> film) const;
+ boost::optional<dcpomatic::DCPTime> start () const;
+ int64_t required_disk_space (std::shared_ptr<const Film> film, int j2k_bandwidth, int audio_channels, int audio_frame_rate) const;
+
+ int best_video_frame_rate () const;
+ dcpomatic::DCPTime video_end (std::shared_ptr<const Film> film) const;
+ dcpomatic::DCPTime text_end (std::shared_ptr<const Film> film) const;
+ FrameRateChange active_frame_rate_change (dcpomatic::DCPTime, int dcp_frame_rate) const;
+ std::string content_summary (std::shared_ptr<const Film> film, dcpomatic::DCPTimePeriod period) const;
+ std::pair<double, double> speed_up_range (int dcp_video_frame_rate) const;
+
+ void set_sequence (bool);
+ void maybe_sequence (std::shared_ptr<const Film> film);
+
+ void repeat (std::shared_ptr<const Film> film, ContentList, int);
+
+ /** Emitted when content has been added to or removed from the playlist; implies OrderChange */
+ mutable boost::signals2::signal<void (ChangeType)> Change;
+ mutable boost::signals2::signal<void ()> OrderChange;
+ /** Emitted when the length might have changed; may sometimes be emitted when it has not */
+ mutable boost::signals2::signal<void ()> LengthChange;
+
+ mutable boost::signals2::signal<void (ChangeType, std::weak_ptr<Content>, int, bool)> ContentChange;
+