Allow configuration of MXF/XML filenames (part of #710).
[dcpomatic.git] / src / lib / text_subtitle_decoder.cc
index ad9c00b63da4962a0d3a3447c567f363721fc862..bec2ab9b7b32029802e2d8dbdb8a5efb62a378a7 100644 (file)
@@ -87,7 +87,7 @@ TextSubtitleDecoder::text_subtitles_during (ContentTimePeriod p, bool starting)
 
        for (vector<sub::Subtitle>::const_iterator i = _subtitles.begin(); i != _subtitles.end(); ++i) {
                ContentTimePeriod t = content_time_period (*i);
-               if ((starting && p.contains (t.from)) || (!starting && p.overlaps (t))) {
+               if ((starting && p.contains (t.from)) || (!starting && p.overlap (t))) {
                        d.push_back (t);
                }
        }