diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-27 21:54:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-27 21:54:50 +0100 |
| commit | 6166c045a8de42edd09924fdd995a77a3b753e54 (patch) | |
| tree | 91da3177d9802c0b9da84607eb3c3831ffc975b5 /src/lib/playlist.h | |
| parent | a4642b6463430175d0f4e1ca284a4bf08bcf4de9 (diff) | |
Support for keeping video in sequence when changing lengths; tie selection in timeline with that in the editor.
Diffstat (limited to 'src/lib/playlist.h')
| -rw-r--r-- | src/lib/playlist.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/lib/playlist.h b/src/lib/playlist.h index f75b4ba63..3a7ca73bf 100644 --- a/src/lib/playlist.h +++ b/src/lib/playlist.h @@ -51,6 +51,11 @@ class Region; * are played simultaneously (i.e. they can be split up into multiple files for different channels) */ +struct ContentSorter +{ + bool operator() (boost::shared_ptr<Content> a, boost::shared_ptr<Content> b); +}; + class Playlist { public: @@ -85,6 +90,8 @@ public: int best_dcp_frame_rate () const; Time video_end () const; + void set_sequence_video (bool); + mutable boost::signals2::signal<void ()> Changed; mutable boost::signals2::signal<void (boost::weak_ptr<Content>, int)> ContentChanged; @@ -94,6 +101,8 @@ private: ContentList _content; int _loop; + bool _sequence_video; + bool _sequencing_video; std::list<boost::signals2::connection> _content_connections; }; |
