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; |
} |