diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-12-08 11:23:58 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-12-08 11:23:58 +0000 |
| commit | a28ef704adf8c5bfa45b3d6285f741af64758ceb (patch) | |
| tree | 04c1afa7b6a72f7faabe290d14713d242b867ab1 /src/lib/audio_decoder_stream.h | |
| parent | 804f43474bba7008bf68fc9189793c89c512a944 (diff) | |
Further fixes and tidying to 'better-seek'.
This fixes the failure to keep track of the `position' of
each stream of a multi-stream file. It also tidies things
up a bit.
Diffstat (limited to 'src/lib/audio_decoder_stream.h')
| -rw-r--r-- | src/lib/audio_decoder_stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/audio_decoder_stream.h b/src/lib/audio_decoder_stream.h index 78747bfc5..9ec5c5a09 100644 --- a/src/lib/audio_decoder_stream.h +++ b/src/lib/audio_decoder_stream.h @@ -43,6 +43,8 @@ public: void seek (ContentTime time, bool accurate); void set_fast (); + boost::optional<ContentTime> position () const; + private: void reset_decoded (); |
