diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-12-28 20:20:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-12-30 12:22:30 +0100 |
| commit | 973f21989ce80584840c390bdf5f9e0c67301e98 (patch) | |
| tree | 68d0c08ccaab58c68563712ad9b3908b2d302c75 /src/lib/dcp_examiner.h | |
| parent | 0beaf6245ef0c1462cbe7eaf6faeabb651b68de3 (diff) | |
Cope with DCPs that have no video and hence no video encoding.
Diffstat (limited to 'src/lib/dcp_examiner.h')
| -rw-r--r-- | src/lib/dcp_examiner.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_examiner.h b/src/lib/dcp_examiner.h index 6bc9793aa..8dd865762 100644 --- a/src/lib/dcp_examiner.h +++ b/src/lib/dcp_examiner.h @@ -150,7 +150,7 @@ public: return _standard; } - VideoEncoding video_encoding() const { + boost::optional<VideoEncoding> video_encoding() const { return _video_encoding; } @@ -230,7 +230,7 @@ private: bool _needs_assets = false; bool _kdm_valid = false; boost::optional<dcp::Standard> _standard; - VideoEncoding _video_encoding = VideoEncoding::JPEG2000; + boost::optional<VideoEncoding> _video_encoding; bool _three_d = false; boost::optional<dcp::ContentKind> _content_kind; std::string _cpl; |
