More debugging of batch converter startup.
[dcpomatic.git] / src / lib / dcpomatic_time.cc
index 6f8f5efa2d4eb01b8b7249447c271ac79dc33bc4..1d965993598c20d6b573ca653d92692b374ff472 100644 (file)
@@ -89,14 +89,9 @@ operator<< (ostream& s, DCPTime t)
        return s;
 }
 
-bool
-ContentTimePeriod::overlaps (ContentTimePeriod const & other) const
-{
-       return (from < other.to && to >= other.from);
-}
-
-bool
-ContentTimePeriod::contains (ContentTime const & other) const
+ostream &
+operator<< (ostream& s, DCPTimePeriod p)
 {
-       return (from <= other && other < to);
+       s << "[DCP " << p.from.get() << " " << p.from.seconds() << "s -> " << p.to.get() << " " << p.to.seconds() << "s]";
+       return s;
 }