X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplaylist.h;h=dc984aacf077d64f78ea37520d9162cbfdbad9f8;hb=4b7185e4eda53534c4d71a1f31ba33ca3dd8dc8d;hp=a5dce1498be1d500c9861cb9e2dfc883693967ed;hpb=a1a96da90403c0a16a9d9dcde9fd8b66da2daffe;p=dcpomatic.git diff --git a/src/lib/playlist.h b/src/lib/playlist.h index a5dce1498..dc984aacf 100644 --- a/src/lib/playlist.h +++ b/src/lib/playlist.h @@ -59,15 +59,15 @@ public: std::string video_identifier () const; - DCPTime length (boost::shared_ptr film) const; - boost::optional start () const; + dcpomatic::DCPTime length (boost::shared_ptr film) const; + boost::optional start () const; int64_t required_disk_space (boost::shared_ptr film, int j2k_bandwidth, int audio_channels, int audio_frame_rate) const; int best_video_frame_rate () const; - DCPTime video_end (boost::shared_ptr film) const; - DCPTime text_end (boost::shared_ptr film) const; - FrameRateChange active_frame_rate_change (DCPTime, int dcp_frame_rate) const; - std::string content_summary (boost::shared_ptr film, DCPTimePeriod period) const; + dcpomatic::DCPTime video_end (boost::shared_ptr film) const; + dcpomatic::DCPTime text_end (boost::shared_ptr film) const; + FrameRateChange active_frame_rate_change (dcpomatic::DCPTime, int dcp_frame_rate) const; + std::string content_summary (boost::shared_ptr film, dcpomatic::DCPTimePeriod period) const; std::pair speed_up_range (int dcp_video_frame_rate) const; void set_sequence (bool); @@ -77,7 +77,9 @@ public: /** Emitted when content has been added to or removed from the playlist; implies OrderChanged */ mutable boost::signals2::signal Change; - mutable boost::signals2::signal OrderChanged; + mutable boost::signals2::signal OrderChange; + /** Emitted when the length might have changed; may sometimes be emitted when it has not */ + mutable boost::signals2::signal LengthChange; mutable boost::signals2::signal, int, bool)> ContentChange;