summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-04 21:16:53 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-07 22:48:29 +0100
commitdd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (patch)
treee56a3f82fb9e1c8602f265bea0d0688d8a018644 /src/lib/decoder.h
parent0d35820cf50d2789752b8776683b26d04642518d (diff)
std::shared_ptr
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/decoder.h b/src/lib/decoder.h
index 169d55553..da5be4af6 100644
--- a/src/lib/decoder.h
+++ b/src/lib/decoder.h
@@ -45,15 +45,15 @@ class DecoderPart;
class Decoder : public boost::noncopyable, public WeakConstFilm
{
public:
- Decoder (boost::weak_ptr<const Film> film);
+ Decoder (std::weak_ptr<const Film> film);
virtual ~Decoder () {}
- boost::shared_ptr<VideoDecoder> video;
- boost::shared_ptr<AudioDecoder> audio;
- std::list<boost::shared_ptr<TextDecoder> > text;
- boost::shared_ptr<AtmosDecoder> atmos;
+ std::shared_ptr<VideoDecoder> video;
+ std::shared_ptr<AudioDecoder> audio;
+ std::list<std::shared_ptr<TextDecoder> > text;
+ std::shared_ptr<AtmosDecoder> atmos;
- boost::shared_ptr<TextDecoder> only_text () const;
+ std::shared_ptr<TextDecoder> only_text () const;
/** Do some decoding and perhaps emit video, audio or subtitle data.
* @return true if this decoder will emit no more data unless a seek() happens.