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

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: Rebased (changed machines) Address most comments. Added TODO for Opus buffering question. 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..02a41ef2b820b99f17278ed2df3c363795b90c9a 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") {
scherkus (not reviewing) 2012/12/14 21:13:34 will this make it work with media source?
Tom Finegan 2012/12/14 23:19:52 Media source is not working with opus.
MEDIA_LOG(log_cb_) << "Unexpected CodecID " << str;
return false;
}

Powered by Google App Engine
This is Rietveld 408576698