diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-19 00:14:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-19 00:14:38 +0100 |
| commit | e5da5518951e91f7bfb80718c9cf546e3ece059c (patch) | |
| tree | 18f92aa4b492b60f339773b33a138311fdc3d41b /src/lib/playlist.h | |
| parent | 23cf9a87b290c32bfef24c6674734bed608d13c6 (diff) | |
Basics of making loop do something.
Diffstat (limited to 'src/lib/playlist.h')
| -rw-r--r-- | src/lib/playlist.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/lib/playlist.h b/src/lib/playlist.h index a31b6826e..330681c56 100644 --- a/src/lib/playlist.h +++ b/src/lib/playlist.h @@ -41,10 +41,7 @@ class Region; * @brief A set of content files (video and audio), with knowledge of how they should be arranged into * a DCP. * - * This class holds Content objects, and it knows how they should be arranged. At the moment - * the ordering is implicit; video content is placed sequentially, and audio content is taken - * from the video unless any sound-only files are present. If sound-only files exist, they - * are played simultaneously (i.e. they can be split up into multiple files for different channels) + * This class holds Content objects, and it knows how they should be arranged. */ struct ContentSorter @@ -67,10 +64,9 @@ public: bool has_subtitles () const; typedef std::vector<boost::shared_ptr<Content> > ContentList; - - ContentList content () const { - return _content; - } + + ContentList content_without_loop () const; + ContentList content_with_loop () const; std::string video_identifier () const; @@ -80,7 +76,9 @@ public: void set_loop (int l); - Time length () const; + Time length_without_loop () const; + Time length_with_loop () const; + int best_dcp_frame_rate () const; Time video_end () const; |
