diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-02-09 22:07:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2023-02-10 10:31:15 +0100 |
| commit | 11bc225507bbd6f2942b7b867389d9571a09c717 (patch) | |
| tree | 7b2bb4cc5627f508aff55b330058921039c006d7 | |
| parent | a4e6a2cf1b0b85904f57a8604ea7757a13d865e4 (diff) | |
Cleanup: remove unnecessary check.
| -rw-r--r-- | src/lib/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 510def583..b1dcfaec5 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -383,7 +383,7 @@ Player::setup_pieces () /* Look for content later in the content list with in-use video that overlaps this */ auto const period = DCPTimePeriod((*i)->content->position(), (*i)->content->end(film)); for (auto j = std::next(i); j != _pieces.end(); ++j) { - if ((*j)->content->video && ignore_overlap((*j)->content->video)) { + if (ignore_overlap((*j)->content->video)) { (*i)->ignore_video = DCPTimePeriod((*j)->content->position(), (*j)->content->end(film)).overlap(period); } } |
