diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-29 23:33:21 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-29 23:33:21 +0100 |
| commit | 77e7cf0b9b9572d6ec955e1865fd73e72ec7666b (patch) | |
| tree | 1596cb8190144173e30ade0f3c81b9e98ecff921 | |
| parent | 08ed784d80fc2108fa95b3b5089b7bb44a6ee48f (diff) | |
We must make empty sections for content with missing files.
Fixes full audio buffers with no video in projects with
image content (no audio) that have missing files.
| -rw-r--r-- | src/lib/empty.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/empty.cc b/src/lib/empty.cc index f6dcad96f..96d036463 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)) { + if (part(i) && i->paths_valid()) { full.push_back (DCPTimePeriod(i->position(), i->end(film))); } } |
