summaryrefslogtreecommitdiff
path: root/src/lib/make_dcp.cc
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/make_dcp.cc
parent21e9bd77598f7bb4588ca9b16a58667e3340f6d9 (diff)
Pass Ratio around as an object rather than a pointer.
Diffstat (limited to 'src/lib/make_dcp.cc')
-rw-r--r--src/lib/make_dcp.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/make_dcp.cc b/src/lib/make_dcp.cc
index 5fb93a618..c40f707ee 100644
--- a/src/lib/make_dcp.cc
+++ b/src/lib/make_dcp.cc
@@ -48,10 +48,6 @@ make_dcp (shared_ptr<Film> film, TranscodeJob::ChangedBehaviour behaviour)
throw BadSettingError (_("name"), _("Cannot contain slashes"));
}
- if (film->container() == nullptr) {
- throw MissingSettingError (_("container"));
- }
-
if (film->content().empty()) {
throw runtime_error (_("You must add some content to the DCP before creating it"));
}