| Index: media/filters/stream_parser_factory.cc
|
| diff --git a/media/filters/stream_parser_factory.cc b/media/filters/stream_parser_factory.cc
|
| index 02470987d37bc5a2c8c2517455eaa8f8cb709ce2..92ccbf4fdfc534f3a42f1bcb4cfd0de41a95a281 100644
|
| --- a/media/filters/stream_parser_factory.cc
|
| +++ b/media/filters/stream_parser_factory.cc
|
| @@ -334,7 +334,7 @@
|
| // 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() &&
|
| + if (media::IsUnifiedMediaPipelineEnabledForMse() &&
|
| !media::HasPlatformDecoderSupport()) {
|
| return false;
|
| }
|
| @@ -344,17 +344,17 @@
|
| }
|
| if (codec_info->tag == CodecInfo::HISTOGRAM_VP8 &&
|
| !media::MediaCodecUtil::IsVp8DecoderAvailable() &&
|
| - !media::IsUnifiedMediaPipelineEnabled()) {
|
| + !media::IsUnifiedMediaPipelineEnabledForMse()) {
|
| return false;
|
| }
|
| if (codec_info->tag == CodecInfo::HISTOGRAM_VP9 &&
|
| !media::PlatformHasVp9Support() &&
|
| - !media::IsUnifiedMediaPipelineEnabled()) {
|
| + !media::IsUnifiedMediaPipelineEnabledForMse()) {
|
| return false;
|
| }
|
| if (codec_info->tag == CodecInfo::HISTOGRAM_OPUS &&
|
| !media::PlatformHasOpusSupport() &&
|
| - !media::IsUnifiedMediaPipelineEnabled()) {
|
| + !media::IsUnifiedMediaPipelineEnabledForMse()) {
|
| return false;
|
| }
|
| #endif
|
|
|