{
_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");
}
void
-Butler::player_changed (int what)
+Butler::player_changed ()
{
boost::mutex::scoped_lock lm (_mutex);
if (_died || _pending_seek_position) {
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;