Use uchardet to guess encoding of subtitle files and reject non-UTF-8.
[dcpomatic.git] / src / lib / subrip_decoder.h
index d6c6e6bc2fa7fd37df7c4769c572fedaa7a7823c..db8374c5c86fac05cbac154ca31329618caea02c 100644 (file)
@@ -35,8 +35,10 @@ protected:
        bool pass ();
 
 private:
-       bool has_subtitle_during (ContentTimePeriod) const;
-       
+       std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;
+       std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const;
+       ContentTimePeriod content_time_period (sub::Subtitle s) const;
+
        size_t _next;
 };