diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-11-21 01:59:04 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-11-21 01:59:04 +0000 |
| commit | 254b3044d72de6b033d7c584f5abd2b9aa70aad5 (patch) | |
| tree | 8a5c83c1b2dea690672663dedb2f3aa50f4473dc /src/lib/decoder.h | |
| parent | c31b9542c58ae1cbfae7ec3ba4911359fd010ba2 (diff) | |
Take Film pointer out of Content.
Diffstat (limited to 'src/lib/decoder.h')
| -rw-r--r-- | src/lib/decoder.h | 7 |
1 files changed, 4 insertions, 3 deletions
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<const Film> film) = 0; + virtual void seek (boost::shared_ptr<const Film> film, ContentTime time, bool accurate); - ContentTime position () const; + ContentTime position (boost::shared_ptr<const Film> film) const; }; #endif |
