From 77e7cf0b9b9572d6ec955e1865fd73e72ec7666b Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 29 Nov 2021 23:33:21 +0100 Subject: [PATCH] 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. --- src/lib/empty.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 film, shared_ptr playlist, { list full; for (auto i: playlist->content()) { - if (part(i)) { + if (part(i) && i->paths_valid()) { full.push_back (DCPTimePeriod(i->position(), i->end(film))); } } -- 2.30.2