Initialise a member for safety.
authorCarl Hetherington <cth@carlh.net>
Wed, 19 Mar 2025 16:19:49 +0000 (17:19 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 19 Mar 2025 19:50:22 +0000 (20:50 +0100)
src/lib/create_cli.h

index 0c4d97b6c7d2bc0bc06cf1b0fa43efef3034e65c..1ce345f1b735c77eeae17d7f312417dbf303377e 100644 (file)
@@ -40,7 +40,7 @@ public:
 
        struct Content {
                boost::filesystem::path path;
-               VideoFrameType frame_type;
+               VideoFrameType frame_type = VideoFrameType::TWO_D;
                boost::optional<dcp::Channel> channel;
                boost::optional<float> gain;
                boost::optional<boost::filesystem::path> kdm;