From 5c64790793651e0647bf4eb2de899750d5b6da9a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 21 Apr 2020 00:11:38 +0200 Subject: Add a getter for _standard in DCPContent. --- src/lib/dcp_content.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib') diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index 65bed29bc..fb8d91781 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -144,6 +144,12 @@ public: return _content_kind; } + dcp::Standard standard () const { + boost::mutex::scoped_lock lm (_mutex); + DCPOMATIC_ASSERT (_standard); + return _standard.get (); + } + bool kdm_timing_window_valid () const; private: -- cgit v1.2.3