Make terminate_threads() less likely to leave _threads containing invalid pointers.
[dcpomatic.git] / src / lib / overlaps.h
index e8216fce0c6b1ac63964aaa180cc5532a188c52c..be3edf9d42559bae365c3e6f364a8572dd4705cf 100644 (file)
 #include "dcpomatic_time.h"
 
 class ContentPart;
+class Film;
 
 /** @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
+       boost::shared_ptr<const Film> film, ContentList cl, boost::function<bool (boost::shared_ptr<const Content>)> part, DCPTime from, DCPTime to
        );