diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-15 22:05:28 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-15 22:05:28 +0100 |
| commit | 46e6a53b87a7f7db1b505e7eb6454abf5d80bfd4 (patch) | |
| tree | f99f1f57ecb21f8510334f8486b044401d7785e6 /src/lib | |
| parent | adf17c5e1992186c7f8d63d9cffd087311164ffa (diff) | |
Fix mis-merge.
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/playlist.cc | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index 028b2b880..1535ad61f 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -75,40 +75,16 @@ Playlist::content_changed (weak_ptr<Content> c, int p) if (p == ContentProperty::LENGTH) { maybe_sequence_video (); } -<<<<<<< HEAD ContentChanged (c, p); } -======= - ContentChanged (c, p); -} - ->>>>>>> 1ea6a456bc2b4a695f6db4720353c35167597b30 void Playlist::maybe_sequence_video () { if (!_sequence_video || _sequencing_video) { return; -<<<<<<< HEAD - } - - _sequencing_video = true; - - ContentList cl = _content; - sort (cl.begin(), cl.end(), ContentSorter ()); - Time last = 0; - for (ContentList::iterator i = cl.begin(); i != cl.end(); ++i) { - if (!dynamic_pointer_cast<VideoContent> (*i)) { - continue; - } - - (*i)->set_start (last); - last = (*i)->end (); - } - -======= } _sequencing_video = true; @@ -125,7 +101,6 @@ Playlist::maybe_sequence_video () last = (*i)->end (); } ->>>>>>> 1ea6a456bc2b4a695f6db4720353c35167597b30 _sequencing_video = false; } |
