| Index: media/formats/mpeg/mpeg_audio_stream_parser_base.h
|
| diff --git a/media/formats/mpeg/mpeg_audio_stream_parser_base.h b/media/formats/mpeg/mpeg_audio_stream_parser_base.h
|
| index 5975c1bdcee94f6937425a8ddb6a7fee7047a225..eb617e31f01c646f492939d238c6afba6be77603 100644
|
| --- a/media/formats/mpeg/mpeg_audio_stream_parser_base.h
|
| +++ b/media/formats/mpeg/mpeg_audio_stream_parser_base.h
|
| @@ -23,7 +23,11 @@ class MEDIA_EXPORT MPEGAudioStreamParserBase : public StreamParser {
|
| public:
|
| // |start_code_mask| is used to find the start of each frame header. Also
|
| // referred to as the sync code in the MP3 and ADTS header specifications.
|
| - MPEGAudioStreamParserBase(uint32 start_code_mask, AudioCodec audio_codec);
|
| + // |codec_delay_in_frames| is the number of silent samples the decoder will
|
| + // output before the first real frame.
|
| + MPEGAudioStreamParserBase(uint32 start_code_mask,
|
| + AudioCodec audio_codec,
|
| + int codec_delay_in_frames);
|
| virtual ~MPEGAudioStreamParserBase();
|
|
|
| // StreamParser implementation.
|
| @@ -134,6 +138,7 @@ class MEDIA_EXPORT MPEGAudioStreamParserBase : public StreamParser {
|
| bool in_media_segment_;
|
| const uint32 start_code_mask_;
|
| const AudioCodec audio_codec_;
|
| + const int codec_delay_in_frames_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MPEGAudioStreamParserBase);
|
| };
|
|
|