summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-04 00:18:22 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-04 00:18:22 +0100
commit984455f1a072b0fa42879d03042e82df0a3cb3bd (patch)
tree253a114252ba120c388f0c36fac61c0af3789a97 /src
parent54e6f206305d4275808cfce36987edcc61a6a779 (diff)
Remove unused parameter.
Diffstat (limited to 'src')
-rw-r--r--src/lib/butler.cc4
-rw-r--r--src/lib/butler.h2
2 files changed, 3 insertions, 3 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) {
diff --git a/src/lib/butler.h b/src/lib/butler.h
index e6553cf8c..7e97bd3c0 100644
--- a/src/lib/butler.h
+++ b/src/lib/butler.h
@@ -53,7 +53,7 @@ private:
void audio (boost::shared_ptr<AudioBuffers> audio, DCPTime time);
bool should_run () const;
void prepare (boost::weak_ptr<PlayerVideo> video) const;
- void player_changed (int);
+ void player_changed ();
void seek_unlocked (DCPTime position, bool accurate);
boost::shared_ptr<Player> _player;