summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-04-21 00:11:38 +0200
committerCarl Hetherington <cth@carlh.net>2020-04-21 00:11:38 +0200
commit5c64790793651e0647bf4eb2de899750d5b6da9a (patch)
tree702b11d2714d4e88991c004706231e66e83049e1 /src/lib/dcp_content.h
parent647771abdbbf52737278e59898063c799b64f22d (diff)
Add a getter for _standard in DCPContent.
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h6
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: