diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-10-23 21:28:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-10-23 21:28:19 +0100 |
| commit | a9fac36bee5cb70263e2df170b104a8951adcccf (patch) | |
| tree | 0c55c482360fd123d02a6cf8d43253a41328d0d9 /src/lib | |
| parent | 0b7936f4b0fca31d9e1e3d1a6bda16b4d0d47fd6 (diff) | |
Add a comment.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/playlist.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index c3e430082..64fdadad1 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -62,6 +62,12 @@ Playlist::~Playlist () void Playlist::content_changed (weak_ptr<Content> content, int property, bool frequent) { + /* Don't respond to position changes here, as: + - sequencing after earlier/later changes is handled by move_earlier/move_later + - any other position changes will be timeline drags which should not result in content + being sequenced. + */ + if (property == ContentProperty::LENGTH || property == VideoContentProperty::VIDEO_FRAME_TYPE) { maybe_sequence_video (); } |
