diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-04-21 00:11:38 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-04-21 00:11:38 +0200 |
| commit | 5c64790793651e0647bf4eb2de899750d5b6da9a (patch) | |
| tree | 702b11d2714d4e88991c004706231e66e83049e1 /src/lib/dcp_content.h | |
| parent | 647771abdbbf52737278e59898063c799b64f22d (diff) | |
Add a getter for _standard in DCPContent.
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 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: |
