From a28ef704adf8c5bfa45b3d6285f741af64758ceb Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 8 Dec 2016 11:23:58 +0000 Subject: Further fixes and tidying to 'better-seek'. This fixes the failure to keep track of the `position' of each stream of a multi-stream file. It also tidies things up a bit. --- src/lib/decoder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/decoder.h') diff --git a/src/lib/decoder.h b/src/lib/decoder.h index bd4bf01c2..3717d931d 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -33,6 +33,7 @@ class Decoded; class VideoDecoder; class AudioDecoder; class SubtitleDecoder; +class DecoderPart; /** @class Decoder. * @brief Parent class for decoders of content. @@ -60,7 +61,7 @@ public: */ virtual void reset () {} - void maybe_seek (boost::optional& position, ContentTime time, bool accurate); + void maybe_seek (boost::optional position, ContentTime time, bool accurate); private: /** Seek so that the next pass() will yield the next thing -- cgit v1.2.3