| Index: media/filters/ffmpeg_audio_decoder.h
|
| diff --git a/media/filters/ffmpeg_audio_decoder.h b/media/filters/ffmpeg_audio_decoder.h
|
| index 8e67f59c72c2dff6aec55b82d50f68f6d6517110..58e0d7b9c2dd18857424f26ad17d45946fc10963 100644
|
| --- a/media/filters/ffmpeg_audio_decoder.h
|
| +++ b/media/filters/ffmpeg_audio_decoder.h
|
| @@ -22,6 +22,7 @@ namespace media {
|
|
|
| class DataBuffer;
|
| class DecoderBuffer;
|
| +struct QueuedAudioBuffer;
|
|
|
| class MEDIA_EXPORT FFmpegAudioDecoder : public AudioDecoder {
|
| public:
|
| @@ -92,6 +93,10 @@ class MEDIA_EXPORT FFmpegAudioDecoder : public AudioDecoder {
|
|
|
| ReadCB read_cb_;
|
|
|
| + // Since multiple frames may be decoded from the same packet we need to queue
|
| + // them up and hand them out as we receive Read() calls.
|
| + std::list<QueuedAudioBuffer> queued_audio_;
|
| +
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(FFmpegAudioDecoder);
|
| };
|
|
|
|
|