Don't bother decoding video frames when we're seeking around trying to find subtitles.
[dcpomatic.git] / src / lib / subrip_decoder.h
index ad9d04e4003029f6a9b99b62714b4fbdd0a13a6f..264ca88996b2b93dafd4b1521f4c4f3a98f8f609 100644 (file)
@@ -32,10 +32,11 @@ public:
 
 protected:
        void seek (ContentTime time, bool accurate);
-       bool pass ();
+       bool pass (PassReason);
 
 private:
-       std::list<ContentTimePeriod> subtitles_during (ContentTimePeriod, bool starting) const;
+       std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;
+       std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const;
        
        size_t _next;
 };