diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-02 18:54:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-02 18:54:20 +0100 |
| commit | 3f704fbba5e7180db6d39f71e578ff0c4b1d7c84 (patch) | |
| tree | 27b2abc4b53df60076777a3208d1b80ecc790d8d /src/lib/butler.cc | |
| parent | 6816f69ad62b05ef6b2857c526db69a4adb52c36 (diff) | |
Stop doing some more stuff during content drags in the timeline.
Diffstat (limited to 'src/lib/butler.cc')
| -rw-r--r-- | src/lib/butler.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc index 2bcd818cc..0c5b29005 100644 --- a/src/lib/butler.cc +++ b/src/lib/butler.cc @@ -93,7 +93,7 @@ Butler::Butler( /* The butler must hear about things first, otherwise it might not sort out suspensions in time for get_video() to be called in response to this signal. */ - _player_change_connection = _player.Change.connect(bind(&Butler::player_change, this, _1, _2), boost::signals2::at_front); + _player_change_connection = _player.Change.connect(bind(&Butler::player_change, this, _1, _2, _3), boost::signals2::at_front); _thread = boost::thread(bind(&Butler::thread, this)); #ifdef DCPOMATIC_LINUX pthread_setname_np(_thread.native_handle(), "butler"); @@ -404,8 +404,12 @@ Butler::memory_used() const void -Butler::player_change(ChangeType type, int property) +Butler::player_change(ChangeType type, int property, bool frequent) { + if (frequent) { + return; + } + if (property == VideoContentProperty::CROP) { if (type == ChangeType::DONE) { auto film = _film.lock(); |
