From 86eb90b563efb7ef093d5b17a5d6db0fc330e301 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 20 Apr 2022 21:17:54 +0200 Subject: Remove DCP class and replace its functionality with a plain method in libdcp. --- src/lib/dcp_decoder.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lib/dcp_decoder.h') diff --git a/src/lib/dcp_decoder.h b/src/lib/dcp_decoder.h index a4dfbad4e..0882bfd09 100644 --- a/src/lib/dcp_decoder.h +++ b/src/lib/dcp_decoder.h @@ -26,7 +26,6 @@ #include "atmos_metadata.h" #include "decoder.h" -#include "dcp.h" #include #include #include @@ -42,12 +41,12 @@ class Log; struct dcp_subtitle_within_dcp_test; -class DCPDecoder : public DCP, public Decoder +class DCPDecoder : public Decoder { public: DCPDecoder ( std::shared_ptr film, - std::shared_ptr, + std::shared_ptr content, bool fast, bool tolerant, std::shared_ptr old @@ -87,6 +86,8 @@ private: ); std::string calculate_lazy_digest (std::shared_ptr) const; + std::shared_ptr _dcp_content; + /** Time of next thing to return from pass relative to the start of _reel */ dcpomatic::ContentTime _next; std::vector> _reels; -- cgit v1.2.3