summaryrefslogtreecommitdiff
path: root/src/lib/decoder_part.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-12-09 21:51:36 +0000
committerCarl Hetherington <cth@carlh.net>2016-12-09 21:51:36 +0000
commit936ff6927ad24daf0ed20776b19b6faa3df9bf83 (patch)
tree556123d229c916251ddc96f9a8b3164b4d815e9b /src/lib/decoder_part.h
parentd7013785f7a1d86feb471af826419afa6298e2b8 (diff)
parent5757f3ba9d2cf3948bcad2b3f3ddbbf09ad754a5 (diff)
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src/lib/decoder_part.h')
-rw-r--r--src/lib/decoder_part.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/decoder_part.h b/src/lib/decoder_part.h
index 1a8794527..ed92d43b4 100644
--- a/src/lib/decoder_part.h
+++ b/src/lib/decoder_part.h
@@ -40,13 +40,7 @@ public:
return _ignore;
}
- void set_position (ContentTime position) {
- _position = position;
- }
-
- boost::optional<ContentTime> position () const {
- return _position;
- }
+ virtual boost::optional<ContentTime> position () const = 0;
void maybe_seek (ContentTime time, bool accurate);
@@ -56,7 +50,6 @@ protected:
private:
bool _ignore;
- boost::optional<ContentTime> _position;
};
#endif