Remove delta from Playlist::length().
authorCarl Hetherington <cth@carlh.net>
Thu, 18 Jun 2015 11:42:17 +0000 (12:42 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 18 Jun 2015 11:42:17 +0000 (12:42 +0100)
src/lib/playlist.cc

index 1aeed4062a8e2d603f3d09b731e43e499b56879e..0bb339f5051bd8d35c65480e7c1abbe876ff447e 100644 (file)
@@ -258,7 +258,7 @@ Playlist::length () const
 {
        DCPTime len;
        for (ContentList::const_iterator i = _content.begin(); i != _content.end(); ++i) {
-               len = max (len, (*i)->end() + DCPTime::delta ());
+               len = max (len, (*i)->end());
        }
 
        return len;