diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-10-15 00:28:32 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-10-17 00:10:59 +0200 |
| commit | 7d8d78c183656191ff44c9464e06b843bfadc54d (patch) | |
| tree | faaca79c98662546e6d41a14650780257344cf37 /src/lib/butler.h | |
| parent | bfd6bd32b5e20c479170452a66cb44eff59feacd (diff) | |
Remove some more unnecessary use of shared_ptr.
Diffstat (limited to 'src/lib/butler.h')
| -rw-r--r-- | src/lib/butler.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h index bac94a742..1dba6e129 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -50,7 +50,7 @@ public: Butler ( std::weak_ptr<const Film> film, - std::shared_ptr<Player> player, + Player& player, AudioMapping map, int audio_channels, std::function<AVPixelFormat (AVPixelFormat)> pixel_format, @@ -105,7 +105,7 @@ private: void seek_unlocked (dcpomatic::DCPTime position, bool accurate); std::weak_ptr<const Film> _film; - std::shared_ptr<Player> _player; + Player& _player; boost::thread _thread; VideoRingBuffers _video; |
