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/audio_decoder.h | |
| parent | c247a1b81b78164acf84f4b003062fab25e64b53 (diff) | |
Make DecoderPart::_position an optional.
Diffstat (limited to 'src/lib/audio_decoder.h')
| -rw-r--r-- | src/lib/audio_decoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index 32d71c067..d81a1c7c8 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -47,7 +47,7 @@ class AudioDecoder : public boost::enable_shared_from_this<AudioDecoder>, public public: AudioDecoder (Decoder* parent, boost::shared_ptr<const AudioContent> content, bool fast); - dcpomatic::ContentTime position (boost::shared_ptr<const Film> film) const; + boost::optional<dcpomatic::ContentTime> position (boost::shared_ptr<const Film> film) const; void emit (boost::shared_ptr<const Film> film, AudioStreamPtr stream, boost::shared_ptr<const AudioBuffers>, dcpomatic::ContentTime); void seek (); void flush (); |
