Hopefully improve subtitle decoder seeking etc.
[dcpomatic.git] / src / lib / dcpomatic_time.cc
index ae4dea44f5c0752f6b387365713f772336e8d867..dcdfd97daf4a2d54b63210092de4220b217ed18a 100644 (file)
@@ -53,5 +53,5 @@ operator<< (ostream& s, DCPTime t)
 bool
 ContentTimePeriod::overlaps (ContentTimePeriod const & other) const
 {
-       return (from < other.to && to > other.from);
+       return (from < other.to && to >= other.from);
 }