diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-29 00:13:49 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-29 00:13:49 +0100 |
| commit | 92f024ea58c7279b8096e5e9f60f9cb2613e8a91 (patch) | |
| tree | 02c3b4a91effa6ca53ba511b60d6451c1b1f2009 /src/lib/dcp_content.h | |
| parent | d6825b500b89430cb018d311c090d794ec18faf3 (diff) | |
swaroop: Disable play/stop/pause and slider during ad content.
Diffstat (limited to 'src/lib/dcp_content.h')
| -rw-r--r-- | src/lib/dcp_content.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index db617afa2..2a3ef46e8 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -138,6 +138,11 @@ public: return _three_d; } + boost::optional<dcp::ContentKind> content_kind () const { + boost::mutex::scoped_lock lm (_mutex); + return _content_kind; + } + bool kdm_timing_window_valid () const; private: @@ -176,6 +181,7 @@ private: bool _reference_text[TEXT_COUNT]; boost::optional<dcp::Standard> _standard; + boost::optional<dcp::ContentKind> _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. |
