diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-16 11:49:08 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-16 11:49:08 +0100 |
| commit | d5085584d82c021e924cec6ce00e682a8e63d800 (patch) | |
| tree | cfd1094beca5be9fd788d2ca264567e51cc729d1 /src/lib/playlist.cc | |
| parent | 6f5d58eb442a7808e00c6431c6289e82cf333658 (diff) | |
Prevent viewer updates on timeline drag (#175).
Diffstat (limited to 'src/lib/playlist.cc')
| -rw-r--r-- | src/lib/playlist.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/playlist.cc b/src/lib/playlist.cc index 1535ad61f..5aa913bc7 100644 --- a/src/lib/playlist.cc +++ b/src/lib/playlist.cc @@ -70,13 +70,13 @@ Playlist::~Playlist () } void -Playlist::content_changed (weak_ptr<Content> c, int p) +Playlist::content_changed (weak_ptr<Content> content, int property, bool frequent) { - if (p == ContentProperty::LENGTH) { + if (property == ContentProperty::LENGTH) { maybe_sequence_video (); } - ContentChanged (c, p); + ContentChanged (content, property, frequent); } @@ -285,7 +285,7 @@ Playlist::reconnect () _content_connections.clear (); for (ContentList::iterator i = _content.begin(); i != _content.end(); ++i) { - _content_connections.push_back ((*i)->Changed.connect (bind (&Playlist::content_changed, this, _1, _2))); + _content_connections.push_back ((*i)->Changed.connect (bind (&Playlist::content_changed, this, _1, _2, _3))); } } |
