X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fplaylist.h;h=444eb9ae5ebb5ae1aac34932440025c92c3f8b43;hb=e6f28e7cda23c1ba3c49cc1bf2dc1491c2f87160;hp=a1ae9b151bfad4647fc6b9e4cd67158bbe0f8f53;hpb=5d65df7ebdc96c658a6b7042e639cb395f91bfeb;p=dcpomatic.git diff --git a/src/lib/playlist.h b/src/lib/playlist.h index a1ae9b151..444eb9ae5 100644 --- a/src/lib/playlist.h +++ b/src/lib/playlist.h @@ -25,6 +25,7 @@ #include #include "ffmpeg_content.h" #include "audio_mapping.h" +#include "util.h" class Content; class FFmpegContent; @@ -56,7 +57,7 @@ public: ~Playlist (); void as_xml (xmlpp::Node *); - void set_from_xml (boost::shared_ptr, boost::shared_ptr); + void set_from_xml (boost::shared_ptr, boost::shared_ptr, int, std::list &); void add (boost::shared_ptr); void remove (boost::shared_ptr); @@ -70,18 +71,17 @@ public: std::string video_identifier () const; - Time length () const; + DCPTime length () const; int best_dcp_frame_rate () const; - Time video_end () const; + DCPTime video_end () const; + FrameRateChange active_frame_rate_change (DCPTime, int dcp_frame_rate) const; void set_sequence_video (bool); void maybe_sequence_video (); void repeat (ContentList, int); - bool content_paths_valid () const; - mutable boost::signals2::signal Changed; /** Third parameter is true if signals are currently being emitted frequently */ mutable boost::signals2::signal, int, bool)> ContentChanged;