diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-03-04 23:24:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-03-05 23:52:14 +0100 |
| commit | ab766096598188759d29829043bf28e63379b730 (patch) | |
| tree | 1fb8fb9eb22c275834db2671395e7b3558e7aac4 /src/lib/make_dcp.cc | |
| parent | 2719964f89431a0598ef617326158309afe5ba43 (diff) | |
Replace Content::paths_valid() with a free utility function.
Diffstat (limited to 'src/lib/make_dcp.cc')
| -rw-r--r-- | src/lib/make_dcp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/make_dcp.cc b/src/lib/make_dcp.cc index b72756194..5fb93a618 100644 --- a/src/lib/make_dcp.cc +++ b/src/lib/make_dcp.cc @@ -69,7 +69,7 @@ make_dcp (shared_ptr<Film> film, TranscodeJob::ChangedBehaviour behaviour) } for (auto i: film->content()) { - if (!i->paths_valid()) { + if (!paths_exist(i->paths())) { throw runtime_error (_("Some of your content is missing")); } auto dcp = dynamic_pointer_cast<const DCPContent>(i); |
