diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-21 10:25:46 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-21 10:25:46 +0100 |
| commit | 81915d4db00c333da2debd2f8e9a0c02f7a316a3 (patch) | |
| tree | 68062af342d2ef6c7a3b5aebbe7cb761bbab5372 /src/lib/player.cc | |
| parent | 4c905330c2052cd77be09d9deb301f1fcf4b81f2 (diff) | |
wipopt-hacx
Diffstat (limited to 'src/lib/player.cc')
| -rw-r--r-- | src/lib/player.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 7048435b5..a4912ce61 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -255,6 +255,8 @@ have_audio (shared_ptr<const Content> content) void Player::setup_pieces () { + std::cout << "setup pieces.\n"; + boost::mutex::scoped_lock lm (_mutex); auto old_pieces = _pieces; @@ -416,6 +418,10 @@ Player::setup_pieces () void Player::playlist_content_change (ChangeType type, int property, bool frequent) { + if (frequent) { + return; + } + auto film = _film.lock(); if (!film) { return; |
