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:59:44 +0100 |
| commit | b51dca65c6a50063fa65b47a97e86f6e0dbbf911 (patch) | |
| tree | 5e8118d05591d621c51b4c396d4a45541b7c0cb8 /src/lib/empty.cc | |
| parent | e887b089ca77d30f612e93bdcd70f77376b13af6 (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.
Diffstat (limited to 'src/lib/empty.cc')
| -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))); } } |
