X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_decoder.h;h=d81a1c7c804eaef70e0444bc19c06c86c16ebcb1;hb=0e8a1ab7c41756115f44229053e1e7024530fb32;hp=32d71c0671b849d57c5a4bfa921110fca57526d0;hpb=c247a1b81b78164acf84f4b003062fab25e64b53;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 ();