summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-13 10:15:26 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-13 10:15:26 +0100
commit9922c1f2eaea674ba2ff6cce5f5853655fd8ad7a (patch)
tree9427c2cb655f8788c31bb5410d70451d11ae3665 /src/lib/dcp_subtitle_decoder.h
parent83e5567530d0be24490abdda46d196e4279c5030 (diff)
Don't bother decoding video frames when we're seeking around trying to find subtitles.
Diffstat (limited to 'src/lib/dcp_subtitle_decoder.h')
-rw-r--r--src/lib/dcp_subtitle_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_subtitle_decoder.h b/src/lib/dcp_subtitle_decoder.h
index 9a16fb7c8..52e400416 100644
--- a/src/lib/dcp_subtitle_decoder.h
+++ b/src/lib/dcp_subtitle_decoder.h
@@ -28,8 +28,8 @@ public:
DCPSubtitleDecoder (boost::shared_ptr<const DCPSubtitleContent>);
protected:
+ bool pass (PassReason);
void seek (ContentTime time, bool accurate);
- bool pass ();
private:
std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const;