X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_decoder.h;h=d81a1c7c804eaef70e0444bc19c06c86c16ebcb1;hb=a2ceaa313a2b8ba28516c935f7f8b82d69957b77;hp=32d71c0671b849d57c5a4bfa921110fca57526d0;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git 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, public public: AudioDecoder (Decoder* parent, boost::shared_ptr content, bool fast); - dcpomatic::ContentTime position (boost::shared_ptr film) const; + boost::optional position (boost::shared_ptr film) const; void emit (boost::shared_ptr film, AudioStreamPtr stream, boost::shared_ptr, dcpomatic::ContentTime); void seek (); void flush ();