From 9922c1f2eaea674ba2ff6cce5f5853655fd8ad7a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 13 May 2015 10:15:26 +0100 Subject: Don't bother decoding video frames when we're seeking around trying to find subtitles. --- src/lib/dcp_decoder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/dcp_decoder.h') 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); private: + bool pass (PassReason); void seek (ContentTime t, bool accurate); - bool pass (); + std::list image_subtitles_during (ContentTimePeriod, bool starting) const; std::list text_subtitles_during (ContentTimePeriod, bool starting) const; -- cgit v1.2.3