X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdcp_content.h;h=2a3ef46e80092db8b2fd4288211eccac18975163;hb=ed68bfad5c795afb342c5228f3c1dc7770a6d646;hp=43476e729c7f8ca3495bb26dcde21988b96dc4e5;hpb=e65d31fbccad80c80f743516ecdd8269826d2114;p=dcpomatic.git diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index 43476e729..2a3ef46e8 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -138,6 +138,13 @@ public: return _three_d; } + boost::optional content_kind () const { + boost::mutex::scoped_lock lm (_mutex); + return _content_kind; + } + + bool kdm_timing_window_valid () const; + private: friend class reels_test5; @@ -174,6 +181,7 @@ private: bool _reference_text[TEXT_COUNT]; boost::optional _standard; + boost::optional _content_kind; bool _three_d; /** ID of the CPL to use; older metadata might not specify this: in that case * just use the only CPL.