summaryrefslogtreecommitdiff
path: root/src/lib/audio_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-06-30 19:41:29 +0100
committerCarl Hetherington <cth@carlh.net>2014-06-30 19:41:29 +0100
commitd3892feca4cf893bfa84f8c206649db9d1716569 (patch)
tree50576d80d258f8d576c0f01c0a6d88a266a880e2 /src/lib/audio_decoder.h
parent8349e7a7d858dc24ff60d84d8ade45e5cf58f94f (diff)
Fix problems with AudioDecoder when seeks to not subsequently give exactly what we asked for.
Diffstat (limited to 'src/lib/audio_decoder.h')
-rw-r--r--src/lib/audio_decoder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h
index 0b0d306f6..0553d7c81 100644
--- a/src/lib/audio_decoder.h
+++ b/src/lib/audio_decoder.h
@@ -64,6 +64,10 @@ protected:
boost::optional<AudioFrame> _audio_position;
/** Currently-available decoded audio data */
ContentAudio _decoded_audio;
+ /** The time of an accurate seek after which we have not yet received any actual
+ data at the seek time.
+ */
+ boost::optional<ContentTime> _seek_reference;
};
#endif