projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65a398e
)
Remove delta from Playlist::length().
author
Carl Hetherington
<cth@carlh.net>
Thu, 18 Jun 2015 11:42:17 +0000
(12:42 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 18 Jun 2015 11:42:17 +0000
(12:42 +0100)
src/lib/playlist.cc
patch
|
blob
|
history
diff --git
a/src/lib/playlist.cc
b/src/lib/playlist.cc
index 1aeed4062a8e2d603f3d09b731e43e499b56879e..0bb339f5051bd8d35c65480e7c1abbe876ff447e 100644
(file)
--- a/
src/lib/playlist.cc
+++ b/
src/lib/playlist.cc
@@
-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;