summaryrefslogtreecommitdiff
path: root/src/lib/decoder_part.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-21 01:59:04 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-21 01:59:04 +0000
commit254b3044d72de6b033d7c584f5abd2b9aa70aad5 (patch)
tree8a5c83c1b2dea690672663dedb2f3aa50f4473dc /src/lib/decoder_part.h
parentc31b9542c58ae1cbfae7ec3ba4911359fd010ba2 (diff)
Take Film pointer out of Content.
Diffstat (limited to 'src/lib/decoder_part.h')
-rw-r--r--src/lib/decoder_part.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/decoder_part.h b/src/lib/decoder_part.h
index 0b8b6a43b..7ba2cb2eb 100644
--- a/src/lib/decoder_part.h
+++ b/src/lib/decoder_part.h
@@ -26,14 +26,15 @@
class Decoder;
class Log;
+class Film;
class DecoderPart
{
public:
- DecoderPart (Decoder* parent, boost::shared_ptr<Log> log);
+ DecoderPart (Decoder* parent);
virtual ~DecoderPart () {}
- virtual ContentTime position () const = 0;
+ virtual ContentTime position (boost::shared_ptr<const Film> film) const = 0;
virtual void seek () = 0;
void set_ignore (bool i) {
@@ -46,7 +47,6 @@ public:
protected:
Decoder* _parent;
- boost::shared_ptr<Log> _log;
private:
bool _ignore;