Fix assertion failure when content has more than one audio stream.
[dcpomatic.git] / src / lib / overlaps.h
index e8216fce0c6b1ac63964aaa180cc5532a188c52c..7dd9802c3827ab66bb85fa23bab8d6d95e54b5ba 100644 (file)
@@ -24,8 +24,9 @@
 class ContentPart;
 
 /** @return Pieces of content with a given part (video, audio,
- * subtitle) that overlap a specified time range in the given
- * ContentList */
+ *  subtitle) that overlap a specified time range in the given
+ *  ContentList
+ */
 ContentList overlaps (
-       ContentList cl, boost::function<boost::shared_ptr<ContentPart> (boost::shared_ptr<const Content>)> part, DCPTime from, DCPTime to
+       ContentList cl, boost::function<bool (boost::shared_ptr<const Content>)> part, DCPTime from, DCPTime to
        );