diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-05-13 10:15:26 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-05-13 10:15:26 +0100 |
| commit | 9922c1f2eaea674ba2ff6cce5f5853655fd8ad7a (patch) | |
| tree | 9427c2cb655f8788c31bb5410d70451d11ae3665 /src/lib/dcp_decoder.h | |
| parent | 83e5567530d0be24490abdda46d196e4279c5030 (diff) | |
Don't bother decoding video frames when we're seeking around trying to find subtitles.
Diffstat (limited to 'src/lib/dcp_decoder.h')
| -rw-r--r-- | src/lib/dcp_decoder.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dcp_decoder.h b/src/lib/dcp_decoder.h index 20ca2bb67..3a05325c7 100644 --- a/src/lib/dcp_decoder.h +++ b/src/lib/dcp_decoder.h @@ -38,8 +38,9 @@ public: DCPDecoder (boost::shared_ptr<const DCPContent>); private: + bool pass (PassReason); void seek (ContentTime t, bool accurate); - bool pass (); + std::list<ContentTimePeriod> image_subtitles_during (ContentTimePeriod, bool starting) const; std::list<ContentTimePeriod> text_subtitles_during (ContentTimePeriod, bool starting) const; |
