X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_mxf_decoder.h;h=774e269c6d5da15275e1ccf61259f4ad1f510fa3;hb=39fb8198febde1937019db1c300ec363aab5aa56;hp=3a93bbb063738aada11fccd8f79c3c09fb1dc9e3;hpb=de2af791bdfdcd653752cba970e59efc7bf810c7;p=dcpomatic.git diff --git a/src/lib/video_mxf_decoder.h b/src/lib/video_mxf_decoder.h index 3a93bbb06..774e269c6 100644 --- a/src/lib/video_mxf_decoder.h +++ b/src/lib/video_mxf_decoder.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2016 Carl Hetherington + Copyright (C) 2016-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,28 +18,31 @@ */ + #include "decoder.h" #include #include + class VideoMXFContent; class Log; + class VideoMXFDecoder : public Decoder { public: - VideoMXFDecoder (boost::shared_ptr, boost::shared_ptr log); + VideoMXFDecoder (std::shared_ptr film, std::shared_ptr); - void pass (); - void seek (ContentTime t, bool accurate); + bool pass () override; + void seek (dcpomatic::ContentTime t, bool accurate) override; private: - boost::shared_ptr _content; + std::shared_ptr _content; /** Time of next thing to return from pass */ - ContentTime _next; + dcpomatic::ContentTime _next; - boost::shared_ptr _mono_reader; - boost::shared_ptr _stereo_reader; + std::shared_ptr _mono_reader; + std::shared_ptr _stereo_reader; dcp::Size _size; };