X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fvideo_mxf_decoder.h;h=774e269c6d5da15275e1ccf61259f4ad1f510fa3;hb=2d2af972a53a2c11b95469058803b4eaed2d3c01;hp=330d59ed858742a7c2d2785af1ca28e935dd345f;hpb=3ff75a6e082c03f9b3c86693c864fd0959bdcee1;p=dcpomatic.git diff --git a/src/lib/video_mxf_decoder.h b/src/lib/video_mxf_decoder.h index 330d59ed8..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,27 +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); + + bool pass () override; + void seek (dcpomatic::ContentTime t, bool accurate) override; private: - bool pass (PassReason, bool accurate); - void seek (ContentTime t, bool accurate); - 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; };