class Playlist;
class Font;
class AudioBuffers;
+class ReferencedReelAsset;
/** @class Player
* @brief A class which can `play' a Playlist.
std::list<boost::shared_ptr<PlayerVideo> > get_video (DCPTime time, bool accurate);
boost::shared_ptr<AudioBuffers> get_audio (DCPTime time, DCPTime length, bool accurate);
- PlayerSubtitles get_subtitles (DCPTime time, DCPTime length, bool starting, bool burnt);
+ PlayerSubtitles get_subtitles (DCPTime time, DCPTime length, bool starting, bool burnt, bool accurate);
std::list<boost::shared_ptr<Font> > get_subtitle_fonts ();
- std::list<boost::shared_ptr<dcp::ReelAsset> > get_reel_assets ();
+ std::list<ReferencedReelAsset> get_reel_assets ();
void set_video_container_size (dcp::Size);
void set_ignore_video ();
continue;
}
- if ((*i)->content->position() <= to && (*i)->content->end() >= from) {
+ if ((*i)->content->position() < to && (*i)->content->end() > from) {
overlaps.push_back (*i);
}
}