From 254b3044d72de6b033d7c584f5abd2b9aa70aad5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 21 Nov 2018 01:59:04 +0000 Subject: Take Film pointer out of Content. --- src/lib/decoder.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lib/decoder.h') diff --git a/src/lib/decoder.h b/src/lib/decoder.h index 55d9cfc64..a8a67ee72 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -34,6 +34,7 @@ class VideoDecoder; class AudioDecoder; class TextDecoder; class DecoderPart; +class Film; /** @class Decoder. * @brief Parent class for decoders of content. @@ -52,10 +53,10 @@ public: /** Do some decoding and perhaps emit video, audio or subtitle data. * @return true if this decoder will emit no more data unless a seek() happens. */ - virtual bool pass () = 0; - virtual void seek (ContentTime time, bool accurate); + virtual bool pass (boost::shared_ptr film) = 0; + virtual void seek (boost::shared_ptr film, ContentTime time, bool accurate); - ContentTime position () const; + ContentTime position (boost::shared_ptr film) const; }; #endif -- cgit v1.2.3