summaryrefslogtreecommitdiff
path: root/src/lib/create_cli.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-06-01 01:39:04 +0200
committerCarl Hetherington <cth@carlh.net>2025-06-17 00:04:03 +0200
commitec06811bae7ed4fc6bd80c3154fd473028ee8e13 (patch)
treeb398119a1a84d261ee16b57171652fd8714d657a /src/lib/create_cli.h
parent21e9bd77598f7bb4588ca9b16a58667e3340f6d9 (diff)
Pass Ratio around as an object rather than a pointer.
Diffstat (limited to 'src/lib/create_cli.h')
-rw-r--r--src/lib/create_cli.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/create_cli.h b/src/lib/create_cli.h
index 4767b1aa7..00abf85e5 100644
--- a/src/lib/create_cli.h
+++ b/src/lib/create_cli.h
@@ -19,6 +19,7 @@
*/
+#include "ratio.h"
#include "video_frame_type.h"
#include <dcp/types.h>
#include <boost/optional.hpp>
@@ -28,7 +29,6 @@
class DCPContentType;
class Film;
-class Ratio;
struct create_cli_test;
@@ -67,7 +67,7 @@ private:
boost::optional<std::string> _template_name;
std::string _name;
- Ratio const* _container_ratio = nullptr;
+ boost::optional<Ratio> _container_ratio;
bool _no_encrypt = false;
bool _encrypt = false;
bool _twod = false;