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/sndfile_decoder.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/lib/sndfile_decoder.h') diff --git a/src/lib/sndfile_decoder.h b/src/lib/sndfile_decoder.h index 5ebe1da7b..68c8633a0 100644 --- a/src/lib/sndfile_decoder.h +++ b/src/lib/sndfile_decoder.h @@ -30,14 +30,13 @@ public: SndfileDecoder (boost::shared_ptr c); ~SndfileDecoder (); - void seek (ContentTime, bool); - int audio_channels () const; ContentTime audio_length () const; int audio_frame_rate () const; private: - bool pass (); + bool pass (PassReason); + void seek (ContentTime, bool); boost::shared_ptr _sndfile_content; SNDFILE* _sndfile; -- cgit v1.2.3