diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:16:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 22:48:29 +0100 |
| commit | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch) | |
| tree | e56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/atmos_decoder.h | |
| parent | 0d35820cf50d2789752b8776683b26d04642518d (diff) | |
std::shared_ptr
Diffstat (limited to 'src/lib/atmos_decoder.h')
| -rw-r--r-- | src/lib/atmos_decoder.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/atmos_decoder.h b/src/lib/atmos_decoder.h index 3003d5a07..935fd9925 100644 --- a/src/lib/atmos_decoder.h +++ b/src/lib/atmos_decoder.h @@ -28,19 +28,19 @@ class AtmosDecoder : public DecoderPart { public: - AtmosDecoder (Decoder* parent, boost::shared_ptr<const Content> content); + AtmosDecoder (Decoder* parent, std::shared_ptr<const Content> content); - boost::optional<dcpomatic::ContentTime> position (boost::shared_ptr<const Film>) const { + boost::optional<dcpomatic::ContentTime> position (std::shared_ptr<const Film>) const { return _position; } void seek (); - void emit (boost::shared_ptr<const Film> film, boost::shared_ptr<const dcp::AtmosFrame> data, Frame frame, AtmosMetadata metadata); + void emit (std::shared_ptr<const Film> film, std::shared_ptr<const dcp::AtmosFrame> data, Frame frame, AtmosMetadata metadata); boost::signals2::signal<void (ContentAtmos)> Data; private: - boost::shared_ptr<const Content> _content; + std::shared_ptr<const Content> _content; boost::optional<dcpomatic::ContentTime> _position; }; |
