summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-01-07 23:46:30 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-07 23:46:30 +0100
commit6fc247a1eaa11abac3efee982cf455633531e51d (patch)
treea760d84e7cbb400053c596f5ffa6cd4f00c9f40e /src/lib
parent490648daaf80d832359e3881acf06c00b55466b7 (diff)
Fix uninitialised _video_encoding when loading films from 2.16.x.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dcp_content.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index a866703f2..e781633d4 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -226,7 +226,7 @@ private:
EnumIndexedVector<bool, TextType> _reference_text;
boost::optional<dcp::Standard> _standard;
- VideoEncoding _video_encoding;
+ VideoEncoding _video_encoding = VideoEncoding::JPEG2000;
boost::optional<dcp::ContentKind> _content_kind;
bool _three_d;
/** ID of the CPL to use; older metadata might not specify this: in that case