diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-11-10 22:51:55 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-11-11 14:15:44 +0100 |
| commit | 0e8a1ab7c41756115f44229053e1e7024530fb32 (patch) | |
| tree | ddeeb9969f5c783ba208574da67c9c7fc591b623 /src/lib/decoder_part.h | |
| parent | c247a1b81b78164acf84f4b003062fab25e64b53 (diff) | |
Make DecoderPart::_position an optional.
Diffstat (limited to 'src/lib/decoder_part.h')
| -rw-r--r-- | src/lib/decoder_part.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/decoder_part.h b/src/lib/decoder_part.h index 53d1a1b08..c8e13445a 100644 --- a/src/lib/decoder_part.h +++ b/src/lib/decoder_part.h @@ -34,7 +34,7 @@ public: DecoderPart (Decoder* parent); virtual ~DecoderPart () {} - virtual dcpomatic::ContentTime position (boost::shared_ptr<const Film> film) const = 0; + virtual boost::optional<dcpomatic::ContentTime> position (boost::shared_ptr<const Film> film) const = 0; virtual void seek () = 0; void set_ignore (bool i) { |
