X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fplaylist.h;h=76055bea0341c6ac2c831a11c0cf417de91fce5a;hb=3b932abd0c7634483911e1d5361e12b2d094ae6f;hp=9e3dbb6dfbf39ccf2f6f6864d1ee2920983ff447;hpb=04eebe07e2f64bd15f6887a10ab51fb92c52901a;p=dcpomatic.git diff --git a/src/lib/playlist.h b/src/lib/playlist.h index 9e3dbb6df..76055bea0 100644 --- a/src/lib/playlist.h +++ b/src/lib/playlist.h @@ -20,24 +20,14 @@ #ifndef DCPOMATIC_PLAYLIST_H #define DCPOMATIC_PLAYLIST_H -#include -#include -#include -#include "ffmpeg_content.h" -#include "audio_mapping.h" #include "util.h" #include "frame_rate_change.h" +#include +#include +#include +#include -class Content; -class FFmpegContent; -class FFmpegDecoder; -class StillImageMagickContent; -class StillImageMagickDecoder; -class SndfileContent; -class SndfileDecoder; -class Job; class Film; -class Region; struct ContentSorter { @@ -68,7 +58,8 @@ public: std::string video_identifier () const; DCPTime length () const; - + boost::optional start () const; + int best_dcp_frame_rate () const; DCPTime video_end () const; FrameRateChange active_frame_rate_change (DCPTime, int dcp_frame_rate) const; @@ -85,7 +76,7 @@ public: * Third parameter is true if signals are currently being emitted frequently. */ mutable boost::signals2::signal, int, bool)> ContentChanged; - + private: void content_changed (boost::weak_ptr, int, bool); void reconnect ();