X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fdcp_examiner.h;h=21aa8d3ab58537de5c4446f899f94d4bcc4bb459;hp=da90924119cd75cf6a2a69fcf9af3ddef79b719c;hb=8f12e84009d7c2685bb2eeb32665876463d4e6e5;hpb=92784c9c28c48859578cd6e75aa01d5657d0c341 diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h index da9092411..21aa8d3ab 100644 --- a/src/lib/dcp_examiner.h +++ b/src/lib/dcp_examiner.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2019 Carl Hetherington + Copyright (C) 2014-2020 Carl Hetherington This file is part of DCP-o-matic. @@ -25,13 +25,14 @@ #include "video_examiner.h" #include "audio_examiner.h" #include "dcp.h" +#include class DCPContent; class DCPExaminer : public DCP, public VideoExaminer, public AudioExaminer { public: - explicit DCPExaminer (boost::shared_ptr); + explicit DCPExaminer (boost::shared_ptr, bool tolerant); bool has_video () const { return _has_video; @@ -118,6 +119,18 @@ public: return _reel_lengths; } + std::map markers () const { + return _markers; + } + + std::vector ratings () const { + return _ratings; + } + + std::string content_version () const { + return _content_version; + } + private: boost::optional _video_frame_rate; boost::optional _video_size; @@ -140,4 +153,7 @@ private: dcp::ContentKind _content_kind; std::string _cpl; std::list _reel_lengths; + std::map _markers; + std::vector _ratings; + std::string _content_version; };