diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-12-01 11:32:36 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-12-01 11:32:36 +0100 |
| commit | be2e6e017d853069f02a83f5fe67423235c3096c (patch) | |
| tree | 6853a9192af405c3ddb5e60f431b16ecbfdf344e /src/lib/butler.h | |
| parent | 090cd7dabd2f975e493a9bbd22754ee578d6a1b2 (diff) | |
Changes to crop can be handled with a reset_metadata().
While playback is happening we need to do that in the butler's
buffers and in the little delay inside Player.
This removes the seek on every crop change, making it a lot
quicker (#1758).
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 1fe05742f..ab6fd7853 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -85,7 +85,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); + void player_change (ChangeType type, int property); void seek_unlocked (dcpomatic::DCPTime position, bool accurate); boost::weak_ptr<const Film> _film; |
