Remove unused parameter.
authorCarl Hetherington <cth@carlh.net>
Fri, 3 Aug 2018 23:18:22 +0000 (00:18 +0100)
committerCarl Hetherington <cth@carlh.net>
Fri, 3 Aug 2018 23:18:22 +0000 (00:18 +0100)
src/lib/butler.cc
src/lib/butler.h

index aee5846542d977586bae2d65f04466deedafc7a8..6a1cc68fc09e50d9160e10f20b9ff5a0ca461c05 100644 (file)
@@ -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) {
index e6553cf8c65d05958bf53fdec6a316938c9e5cc2..7e97bd3c013cc51327f284c4eeddfa691bb8669f 100644 (file)
@@ -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;