diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-08-04 00:18:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-08-04 00:18:22 +0100 |
| commit | 984455f1a072b0fa42879d03042e82df0a3cb3bd (patch) | |
| tree | 253a114252ba120c388f0c36fac61c0af3789a97 /src/lib/butler.cc | |
| parent | 54e6f206305d4275808cfce36987edcc61a6a779 (diff) | |
Remove unused parameter.
Diffstat (limited to 'src/lib/butler.cc')
| -rw-r--r-- | src/lib/butler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/butler.cc b/src/lib/butler.cc index aee584654..6a1cc68fc 100644 --- a/src/lib/butler.cc +++ b/src/lib/butler.cc @@ -63,7 +63,7 @@ Butler::Butler (shared_ptr<Player> player, shared_ptr<Log> log, AudioMapping aud { _player_video_connection = _player->Video.connect (bind (&Butler::video, this, _1, _2)); _player_audio_connection = _player->Audio.connect (bind (&Butler::audio, this, _1, _2)); - _player_changed_connection = _player->Changed.connect (bind (&Butler::player_changed, this, _1)); + _player_changed_connection = _player->Changed.connect (bind (&Butler::player_changed, this)); _thread = new boost::thread (bind (&Butler::thread, this)); #ifdef DCPOMATIC_LINUX pthread_setname_np (_thread->native_handle(), "butler"); @@ -299,7 +299,7 @@ Butler::memory_used () const } void -Butler::player_changed (int what) +Butler::player_changed () { boost::mutex::scoped_lock lm (_mutex); if (_died || _pending_seek_position) { |
