X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fempty.cc;h=a750663954028dc46caaf8c6a685840a965cffbc;hb=refs%2Fheads%2F2493-player-export-frame;hp=f6dcad96fb730162e6824ba273d84ffa31199e5f;hpb=39fb8198febde1937019db1c300ec363aab5aa56;p=dcpomatic.git diff --git a/src/lib/empty.cc b/src/lib/empty.cc index f6dcad96f..a75066395 100644 --- a/src/lib/empty.cc +++ b/src/lib/empty.cc @@ -42,8 +42,8 @@ Empty::Empty (shared_ptr film, shared_ptr playlist, { list full; for (auto i: playlist->content()) { - if (part(i)) { - full.push_back (DCPTimePeriod(i->position(), i->end(film))); + if (part(i) && i->paths_valid()) { + full.push_back(i->period(film)); } }