Chromium Code Reviews| Index: media/filters/ffmpeg_audio_decoder.h |
| diff --git a/media/filters/ffmpeg_audio_decoder.h b/media/filters/ffmpeg_audio_decoder.h |
| index 59e4629477f3b2aa09cdb81a10a8543c6341404e..7a3822101f791e29263347303dec7ba2986d49da 100644 |
| --- a/media/filters/ffmpeg_audio_decoder.h |
| +++ b/media/filters/ffmpeg_audio_decoder.h |
| @@ -24,7 +24,7 @@ class SingleThreadTaskRunner; |
| namespace media { |
| -class AudioTimestampHelper; |
| +class AudioDiscardHelper; |
| class DecoderBuffer; |
| class MEDIA_EXPORT FFmpegAudioDecoder : public AudioDecoder { |
| @@ -82,11 +82,7 @@ class MEDIA_EXPORT FFmpegAudioDecoder : public AudioDecoder { |
| int av_sample_format_; |
| // Used for computing output timestamps. |
|
wolenetz
2014/04/29 00:22:44
nit: discard_helper_ is used for more than that. R
DaleCurtis
2014/04/29 00:28:59
Done.
|
| - scoped_ptr<AudioTimestampHelper> output_timestamp_helper_; |
| - base::TimeDelta last_input_timestamp_; |
| - |
| - // Number of frames to drop before generating output buffers. |
| - int output_frames_to_drop_; |
| + scoped_ptr<AudioDiscardHelper> discard_helper_; |
| // Since multiple frames may be decoded from the same packet we need to queue |
| // them up. |