Allow configuration of MXF/XML filenames (part of #710).
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.cc
index 81dfc6598ff345034636ac629905477a4297d39a..d7b39d5de29021b78f8a6c3cc62daaa9e0f83fe7 100644 (file)
@@ -98,7 +98,7 @@ DCPSubtitleDecoder::text_subtitles_during (ContentTimePeriod p, bool starting) c
 
        for (list<dcp::SubtitleString>::const_iterator i = _subtitles.begin(); i != _subtitles.end(); ++i) {
                ContentTimePeriod period = content_time_period (*i);
-               if ((starting && p.contains (period.from)) || (!starting && p.overlaps (period))) {
+               if ((starting && p.contains(period.from)) || (!starting && p.overlap(period))) {
                        d.push_back (period);
                }
        }