X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplaylist.h;h=d7db75d0fb9ed44feccfb7a70a0561780eea5eb6;hb=f4f6a2504e5fedb67513689eaeac9dd88ee38ca9;hp=dd43ed2e36813a0dcb207b22fe968e095d35feae;hpb=ed227b4fdba9b4fc7f06f6db4830219f14bad358;p=dcpomatic.git diff --git a/src/lib/playlist.h b/src/lib/playlist.h index dd43ed2e3..d7db75d0f 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); @@ -86,6 +86,7 @@ private: void disconnect (); void reconnect (boost::shared_ptr film); + mutable boost::mutex _mutex; /** List of content. Kept sorted in position order. */ ContentList _content; bool _sequence;