X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_examiner.h;h=f54f02c36c005f607de6b8b3720beac8b4a3f2df;hb=92f024ea58c7279b8096e5e9f60f9cb2613e8a91;hp=0e0b3ef8347c4ae6c389f81ed708507e8c9179cd;hpb=e935952ec68482352294fed637d4bfa533120e36;p=dcpomatic.git diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h index 0e0b3ef83..f54f02c36 100644 --- a/src/lib/dcp_examiner.h +++ b/src/lib/dcp_examiner.h @@ -59,10 +59,6 @@ public: return _name; } - bool has_subtitles () const { - return _has_subtitles; - } - bool encrypted () const { return _encrypted; } @@ -87,6 +83,10 @@ public: return _audio_frame_rate.get_value_or (48000); } + bool has_text (TextType type) const { + return _has_text[type]; + } + bool kdm_valid () const { return _kdm_valid; } @@ -99,6 +99,10 @@ public: return _three_d; } + dcp::ContentKind content_kind () const { + return _content_kind; + } + std::string cpl () const { return _cpl; } @@ -119,12 +123,13 @@ private: bool _has_video; /** true if this DCP has audio content (but false if it has unresolved references to audio content) */ bool _has_audio; - bool _has_subtitles; + bool _has_text[TEXT_COUNT]; bool _encrypted; bool _needs_assets; bool _kdm_valid; boost::optional _standard; bool _three_d; + dcp::ContentKind _content_kind; std::string _cpl; std::list _reel_lengths; };