summaryrefslogtreecommitdiff
path: root/src/lib/empty.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-04 23:24:59 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-05 23:52:14 +0100
commitab766096598188759d29829043bf28e63379b730 (patch)
tree1fb8fb9eb22c275834db2671395e7b3558e7aac4 /src/lib/empty.cc
parent2719964f89431a0598ef617326158309afe5ba43 (diff)
Replace Content::paths_valid() with a free utility function.
Diffstat (limited to 'src/lib/empty.cc')
-rw-r--r--src/lib/empty.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/empty.cc b/src/lib/empty.cc
index a75066395..7a7833941 100644
--- a/src/lib/empty.cc
+++ b/src/lib/empty.cc
@@ -42,7 +42,7 @@ Empty::Empty (shared_ptr<const Film> film, shared_ptr<const Playlist> playlist,
{
list<DCPTimePeriod> full;
for (auto i: playlist->content()) {
- if (part(i) && i->paths_valid()) {
+ if (part(i) && paths_exist(i->paths())) {
full.push_back(i->period(film));
}
}