summaryrefslogtreecommitdiff
path: root/src/lib/playlist.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-02-24 00:17:26 +0000
committerCarl Hetherington <cth@carlh.net>2016-02-24 00:17:26 +0000
commite1ec5b2c81ec2e15d4c1d97cce8252fa34c7116a (patch)
tree78aed756a937f979983de33f51acbf2b43744aa4 /src/lib/playlist.h
parent794396aa29061894ea359a6f30aa0f759a1f1b74 (diff)
An unfortunately large set of timeline-related changes:
- Rename sequence_video to sequence, and sequence subtitle content like we do video content (i.e. adding multiple subtitle contents will result in them sequenced in time rather than overlaid). - Stop doing selection-changed related stuff in ContentPanel if no selection change has actually happened. - Attempt to tidy up event handling in the timeline a bit.
Diffstat (limited to 'src/lib/playlist.h')
-rw-r--r--src/lib/playlist.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/playlist.h b/src/lib/playlist.h
index 3af17bb6c..0ad70b524 100644
--- a/src/lib/playlist.h
+++ b/src/lib/playlist.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2013 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -63,10 +63,11 @@ public:
int best_dcp_frame_rate () const;
DCPTime video_end () const;
+ DCPTime subtitle_end () const;
FrameRateChange active_frame_rate_change (DCPTime, int dcp_frame_rate) const;
- void set_sequence_video (bool);
- void maybe_sequence_video ();
+ void set_sequence (bool);
+ void maybe_sequence ();
void repeat (ContentList, int);
@@ -85,8 +86,8 @@ private:
/** List of content. Kept sorted in position order. */
ContentList _content;
- bool _sequence_video;
- bool _sequencing_video;
+ bool _sequence;
+ bool _sequencing;
std::list<boost::signals2::connection> _content_connections;
};