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

Unified Diff: media/filters/stream_parser_factory.cc

Issue 506943003: Support MPEG1 audio in the MPEG2-TS stream parser. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address CR comments from patch set #5. Created 6 years, 3 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
« no previous file with comments | « media/BUILD.gn ('k') | media/formats/mp2t/es_parser_adts_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/stream_parser_factory.cc
diff --git a/media/filters/stream_parser_factory.cc b/media/filters/stream_parser_factory.cc
index daeaea23b7b112408b71e7aebf883a9ac034289c..b47fa753733dd507858b535a5cb8710d61b9f9ec 100644
--- a/media/filters/stream_parser_factory.cc
+++ b/media/filters/stream_parser_factory.cc
@@ -11,7 +11,7 @@
#include "media/base/media_log.h"
#include "media/base/media_switches.h"
#include "media/formats/mpeg/adts_stream_parser.h"
-#include "media/formats/mpeg/mp3_stream_parser.h"
+#include "media/formats/mpeg/mpeg1_audio_stream_parser.h"
#include "media/formats/webm/webm_stream_parser.h"
#if defined(OS_ANDROID)
@@ -190,7 +190,7 @@ static const CodecInfo* kAudioMP3Codecs[] = {
static StreamParser* BuildMP3Parser(
const std::vector<std::string>& codecs, const LogCB& log_cb) {
- return new MP3StreamParser();
+ return new MPEG1AudioStreamParser();
}
static const CodecInfo kADTSCodecInfo = { NULL, CodecInfo::AUDIO, NULL,
« no previous file with comments | « media/BUILD.gn ('k') | media/formats/mp2t/es_parser_adts_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698