X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_examiner.h;h=03d43d0f6c9f7a270ab2f2b16d147c4389ec289d;hb=d8d7ddd4c39e3ea347afd1fccc037d8b0a31bc87;hp=5b510743b73c8ce8ba2a876c84e8fe5ae4d71b11;hpb=72ae435a9b2a554d5de7280ad51793ed6a835f42;p=dcpomatic.git diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h index 5b510743b..03d43d0f6 100644 --- a/src/lib/dcp_examiner.h +++ b/src/lib/dcp_examiner.h @@ -47,6 +47,10 @@ public: return _has_subtitles; } + bool encrypted () const { + return _encrypted; + } + int audio_channels () const { return _audio_channels.get_value_or (0); } @@ -59,6 +63,10 @@ public: return _audio_frame_rate.get_value_or (48000); } + bool kdm_valid () const { + return _kdm_valid; + } + private: boost::optional _video_frame_rate; boost::optional _video_size; @@ -68,4 +76,6 @@ private: ContentTime _audio_length; std::string _name; bool _has_subtitles; + bool _encrypted; + bool _kdm_valid; };