}
class DCPContent;
-class Log;
+struct dcp_subtitle_within_dcp_test;
class DCPDecoder : public VideoDecoder, public AudioDecoder, public SubtitleDecoder
{
DCPDecoder (boost::shared_ptr<const DCPContent>);
private:
- void seek (ContentTime t, bool accurate);
+ friend struct dcp_subtitle_within_dcp_test;
+
bool pass ();
- std::list<ContentTimePeriod> subtitles_during (ContentTimePeriod, bool starting) const;
+ void seek (ContentTime t, bool accurate);
+
+ std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;
+ std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const;
ContentTime _next;
std::list<boost::shared_ptr<dcp::Reel> > _reels;