Allow import of OV/VF DCPs (#906).
[dcpomatic.git] / src / lib / dcp_decoder.h
index 12e37104e599b76f7e272d212bef9fdfb1683b7d..6e1f95356a06f674a4562f3a385fd4d67f89b1f3 100644 (file)
@@ -23,6 +23,7 @@
  */
 
 #include "decoder.h"
+#include "dcp.h"
 
 namespace dcp {
        class Reel;
@@ -35,7 +36,7 @@ class DCPContent;
 class Log;
 struct dcp_subtitle_within_dcp_test;
 
-class DCPDecoder : public Decoder
+class DCPDecoder : public DCP, public Decoder
 {
 public:
        DCPDecoder (boost::shared_ptr<const DCPContent>, boost::shared_ptr<Log> log);
@@ -57,7 +58,6 @@ private:
        std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;
        std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const;
 
-       boost::shared_ptr<const DCPContent> _dcp_content;
        /** Time of next thing to return from pass relative to the start of _reel */
        ContentTime _next;
        std::list<boost::shared_ptr<dcp::Reel> > _reels;