/*
- Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
*/
+
#include "atmos_metadata.h"
#include "dcpomatic_time.h"
#include "decoder.h"
#include <dcp/atmos_asset_reader.h>
+
class AtmosMXFContent;
+
class AtmosMXFDecoder : public Decoder
{
public:
- AtmosMXFDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const AtmosMXFContent>);
+ AtmosMXFDecoder (std::shared_ptr<const Film> film, std::shared_ptr<const AtmosMXFContent>);
- bool pass ();
- void seek (dcpomatic::ContentTime t, bool accurate);
+ bool pass () override;
+ void seek (dcpomatic::ContentTime t, bool accurate) override;
private:
- boost::shared_ptr<const AtmosMXFContent> _content;
+ std::shared_ptr<const AtmosMXFContent> _content;
dcpomatic::ContentTime _next;
- boost::shared_ptr<dcp::AtmosAssetReader> _reader;
+ std::shared_ptr<dcp::AtmosAssetReader> _reader;
boost::optional<AtmosMetadata> _metadata;
};