diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-06-06 21:16:54 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-06-06 21:16:54 +0200 |
| commit | cfa0a559a8feec79d1e8acd20d4b11ef8cd01513 (patch) | |
| tree | ee0b1bd5b6621046693cc530c94a87844b43fee7 /src/lib/dcp_content.h | |
| parent | c3fc0d69e0563099d40e0a4ab787c0d3264f865b (diff) | |
Store the video encoding of a DCP in the metadata (J2K/MPEG2).
Diffstat (limited to 'src/lib/dcp_content.h')
| -rw-r--r-- | src/lib/dcp_content.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index 995e0b681..be2c72002 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -32,6 +32,7 @@ #include "enum_indexed_vector.h" #include "font.h" #include "resolution.h" +#include "video_encoding.h" #include <libcxml/cxml.h> #include <dcp/content_kind.h> #include <dcp/encrypted_kdm.h> @@ -160,6 +161,11 @@ public: return _standard.get (); } + VideoEncoding video_encoding() const { + boost::mutex::scoped_lock lm (_mutex); + return _video_encoding; + } + std::map<dcp::Marker, dcpomatic::ContentTime> markers () const { return _markers; } @@ -213,6 +219,7 @@ private: EnumIndexedVector<bool, TextType> _reference_text; boost::optional<dcp::Standard> _standard; + VideoEncoding _video_encoding; boost::optional<dcp::ContentKind> _content_kind; bool _three_d; /** ID of the CPL to use; older metadata might not specify this: in that case |
