Use uchardet to guess encoding of subtitle files and reject non-UTF-8.
[dcpomatic.git] / src / lib / subrip_decoder.h
index 876f763d3a5ffe1c39f1952226250eccb95db4c6..db8374c5c86fac05cbac154ca31329618caea02c 100644 (file)
@@ -37,7 +37,8 @@ protected:
 private:
        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;
 };