diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-02-09 22:49:47 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-02-10 10:31:15 +0100 |
| commit | fbdfc901498605f89f28a57d595df966bddc4eb1 (patch) | |
| tree | 41f046cc60ee9ab11cbb391d0afce114bbd685d2 /src/lib/empty.cc | |
| parent | ead33f1db9657b3af93ec966d7bbc24218b6fba0 (diff) | |
Cleanup: add Content::period().
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 96d036463..a75066395 100644 --- a/src/lib/empty.cc +++ b/src/lib/empty.cc @@ -43,7 +43,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()) { - full.push_back (DCPTimePeriod(i->position(), i->end(film))); + full.push_back(i->period(film)); } } |
