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

Unified Diff: media/webm/webm_tracks_parser.cc

Issue 11416367: Add Opus decode wrapper to media. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments. Created 8 years 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/webm/webm_tracks_parser.cc
diff --git a/media/webm/webm_tracks_parser.cc b/media/webm/webm_tracks_parser.cc
index 8a8864db05e20dece16c600045523b296f536abb..3fb7a0f81bf3c2a3ed33caac2f1420d0398aedab 100644
--- a/media/webm/webm_tracks_parser.cc
+++ b/media/webm/webm_tracks_parser.cc
@@ -138,7 +138,8 @@ bool WebMTracksParser::OnBinary(int id, const uint8* data, int size) {
}
bool WebMTracksParser::OnString(int id, const std::string& str) {
- if (id == kWebMIdCodecID && str != "A_VORBIS" && str != "V_VP8") {
+ if (id == kWebMIdCodecID && str != "A_VORBIS" && str != "A_OPUS" &&
+ str != "V_VP8") {
xhwang 2012/12/14 08:41:48 nit: if (id == kWebMIdCodecID && str != "A_VO
Tom Finegan 2012/12/14 20:21:34 Done.
MEDIA_LOG(log_cb_) << "Unexpected CodecID " << str;
return false;
}

Powered by Google App Engine
This is Rietveld 408576698