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

Unified Diff: media/base/audio_codecs.cc

Issue 2773793002: Allow mp3 audio codec for mpeg2ts containers in MSE (Closed)
Patch Set: CR feedback Created 3 years, 9 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 | « no previous file | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_codecs.cc
diff --git a/media/base/audio_codecs.cc b/media/base/audio_codecs.cc
index 09b191000b52b1148567b05ea17b4297937ad873..ea5bafa0229aefa8db043c4126e9db9ff1a57f97 100644
--- a/media/base/audio_codecs.cc
+++ b/media/base/audio_codecs.cc
@@ -56,7 +56,7 @@ AudioCodec StringToAudioCodec(const std::string& codec_id) {
return kCodecAC3;
if (codec_id == "ec-3" || codec_id == "mp4a.A6" || codec_id == "mp4a.a6")
return kCodecEAC3;
- if (codec_id == "mp3")
+ if (codec_id == "mp3" || codec_id == "mp4a.69" || codec_id == "mp4a.6B")
return kCodecMP3;
if (codec_id == "alac")
return kCodecALAC;
« no previous file with comments | « no previous file | media/filters/chunk_demuxer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698