diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-15 23:52:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-15 23:52:15 +0100 |
| commit | c68cf49367957b49a99a9cc04013e9ee5a8c5bfc (patch) | |
| tree | 1cb36ca02f32de05102b1ee603b0ef8c47d0595c /src/lib/butler.h | |
| parent | d2ce97f930b53ec7d50c22a11dd03b7264b25039 (diff) | |
Player::playlist_content_change will call setup_pieces() regardlessv2.15.5
of the state of frequent, so Butler::player_change must always seek
regardless of the state of frequent. Otherwise setup_pieces() results
in the next pass() output being at position 0, which causes problems
when the audio from that output is pushed into the audio ring buffers.
Diffstat (limited to 'src/lib/butler.h')
| -rw-r--r-- | src/lib/butler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h index f1922d348..09c182f9c 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -69,7 +69,7 @@ private: void text (PlayerText pt, TextType type, boost::optional<DCPTextTrack> track, dcpomatic::DCPTimePeriod period); bool should_run () const; void prepare (boost::weak_ptr<PlayerVideo> video); - void player_change (ChangeType type, bool frequent); + void player_change (ChangeType type); void seek_unlocked (dcpomatic::DCPTime position, bool accurate); boost::shared_ptr<Player> _player; |
