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

Unified Diff: media/filters/stream_parser_factory.cc

Issue 2283493003: Delete browser MSE implementation. (Closed)
Patch Set: Actually delete MSP. Cleanse references. Remove AudioTrack usage. Created 4 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
Index: media/filters/stream_parser_factory.cc
diff --git a/media/filters/stream_parser_factory.cc b/media/filters/stream_parser_factory.cc
index c67886aa84b9a27ddfb59480668e53969582719f..0b836dea01a6219b9a582d6dea7add3c5b87d27c 100644
--- a/media/filters/stream_parser_factory.cc
+++ b/media/filters/stream_parser_factory.cc
@@ -343,28 +343,8 @@ static bool VerifyCodec(
#if defined(OS_ANDROID)
// TODO(wolenetz, dalecurtis): This should instead use MimeUtil() to avoid
// duplication of subtle Android behavior. http://crbug.com/587303.
- if (codec_info->tag == CodecInfo::HISTOGRAM_H264) {
- if (media::IsUnifiedMediaPipelineEnabled() &&
- !media::HasPlatformDecoderSupport()) {
- return false;
- }
-
- if (!MediaCodecUtil::IsMediaCodecAvailable())
- return false;
- }
- if (codec_info->tag == CodecInfo::HISTOGRAM_VP8 &&
- !media::MediaCodecUtil::IsVp8DecoderAvailable() &&
- !media::IsUnifiedMediaPipelineEnabled()) {
- return false;
- }
- if (codec_info->tag == CodecInfo::HISTOGRAM_VP9 &&
- !media::MediaCodecUtil::IsVp9DecoderAvailable() &&
- !media::IsUnifiedMediaPipelineEnabled()) {
- return false;
- }
- if (codec_info->tag == CodecInfo::HISTOGRAM_OPUS &&
- !media::PlatformHasOpusSupport() &&
- !media::IsUnifiedMediaPipelineEnabled()) {
+ if (codec_info->tag == CodecInfo::HISTOGRAM_H264 &&
+ !media::HasPlatformDecoderSupport()) {
return false;
}
#endif
« media/base/android/media_statistics.cc ('K') | « media/filters/android/media_codec_audio_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698