Allow configuration of MXF/XML filenames (part of #710).
[dcpomatic.git] / src / lib / overlaps.cc
index 9e1b2751763484adc3c3e32b866251b6c75d681e..ccef4cef8ba0cd074b152dd371e7ee40d5ea4466 100644 (file)
@@ -31,7 +31,7 @@ ContentList overlaps (ContentList cl, function<shared_ptr<ContentPart> (shared_p
        ContentList overlaps;
        DCPTimePeriod period (from, to);
        BOOST_FOREACH (shared_ptr<Content> i, cl) {
-               if (part(i) && DCPTimePeriod(i->position(), i->end()).overlap(period)) {
+               if (part(i) && DCPTimePeriod(i->position(), i->end()).overlap(period)) {
                        overlaps.push_back (i);
                }
        }