From fc7e80f0808b3729b4ef111b1a19214b0d3c5014 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 17 Jun 2015 16:04:12 +0100 Subject: Use Film's ContentChanged rather than Playlist's. --- src/lib/player.cc | 2 +- src/lib/player.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/player.cc b/src/lib/player.cc index b7a5065b7..235cc8bda 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -76,7 +76,7 @@ Player::Player (shared_ptr f, shared_ptr p) , _ignore_video (false) , _burn_subtitles (f->burn_subtitles ()) { - _playlist_content_changed_connection = _playlist->ContentChanged.connect (bind (&Player::content_changed, this, _1, _2, _3)); + _film_content_changed_connection = _film->ContentChanged.connect (bind (&Player::content_changed, this, _1, _2, _3)); _film_changed_connection = _film->Changed.connect (bind (&Player::film_changed, this, _1)); set_video_container_size (_film->frame_size ()); diff --git a/src/lib/player.h b/src/lib/player.h index 624547296..a9504ba05 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -166,7 +166,7 @@ private: PlayerStatistics _statistics; - boost::signals2::scoped_connection _playlist_content_changed_connection; + boost::signals2::scoped_connection _film_content_changed_connection; boost::signals2::scoped_connection _film_changed_connection; }; -- cgit v1.2.3