| Index: media/filters/ffmpeg_audio_decoder.h
|
| ===================================================================
|
| --- media/filters/ffmpeg_audio_decoder.h (revision 22918)
|
| +++ media/filters/ffmpeg_audio_decoder.h (working copy)
|
| @@ -26,6 +26,8 @@
|
| protected:
|
| virtual bool OnInitialize(DemuxerStream* demuxer_stream);
|
|
|
| + virtual void OnSeek(base::TimeDelta time);
|
| +
|
| virtual void OnStop();
|
|
|
| virtual void OnDecode(Buffer* input);
|
| @@ -43,6 +45,9 @@
|
| // is initialized in OnInitialize().
|
| AVCodecContext* codec_context_;
|
|
|
| + // Estimated timestamp for next packet. Useful for packets without timestamps.
|
| + base::TimeDelta estimated_next_timestamp_;
|
| +
|
| // Data buffer to carry decoded raw PCM samples. This buffer is created by
|
| // av_malloc() and is used throughout the lifetime of this class.
|
| scoped_ptr_malloc<uint8, ScopedPtrAVFree> output_buffer_;
|
|
|