Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1119)

Unified Diff: media/formats/common/stream_parser_test_base.h

Issue 239423005: Wire up codec_delay() to MP3StreamParser and FFmpegAudioDecoder. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Switch codec_delay() to frames. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/formats/common/stream_parser_test_base.h
diff --git a/media/formats/common/stream_parser_test_base.h b/media/formats/common/stream_parser_test_base.h
index 780f6653ba589e65a9aea7a196c45d1dec9a5706..7c0174fa15273647b63d606843f0d9ade1b0cc66 100644
--- a/media/formats/common/stream_parser_test_base.h
+++ b/media/formats/common/stream_parser_test_base.h
@@ -39,6 +39,9 @@ class StreamParserTestBase {
//
std::string ParseFile(const std::string& filename, int append_bytes);
+ // The last AudioDecoderConfig handed to OnNewConfig().
+ AudioDecoderConfig last_audio_config_;
+
private:
void InitializeParser();
bool AppendDataInPieces(const uint8* data, size_t length, size_t piece_size);

Powered by Google App Engine
This is Rietveld 408576698