Commit 621d7f30 authored by Xiaohan Wang's avatar Xiaohan Wang Committed by Commit Bot

media: Fix CodecSupportTest_NewVp9Variants test on Mac ARM64

Fix MediaCanPlayTypeTest.CodecSupportTest_NewVp9Variants' test
expectation now VP9 profile2 is supported on Mac ARM64.

Bug: 1128445
Change-Id: I1094cf518823f52d7880f645d39bfeca0e582feb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2441187
Auto-Submit: Xiaohan Wang <xhwang@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Reviewed-by: default avatarDale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#812252}
parent 5ae3f7f8
...@@ -164,7 +164,7 @@ IN_PROC_BROWSER_TEST_F(MediaCanPlayTypeTest, CodecSupportTest_Mpeg2Ts) { ...@@ -164,7 +164,7 @@ IN_PROC_BROWSER_TEST_F(MediaCanPlayTypeTest, CodecSupportTest_Mpeg2Ts) {
// See more complete codec string testing in media/base/video_codecs_unittest.cc // See more complete codec string testing in media/base/video_codecs_unittest.cc
IN_PROC_BROWSER_TEST_F(MediaCanPlayTypeTest, CodecSupportTest_NewVp9Variants) { IN_PROC_BROWSER_TEST_F(MediaCanPlayTypeTest, CodecSupportTest_NewVp9Variants) {
// Profile 2 and 3 support is currently disabled on Android prior to P and MIPS. // Profile 2 and 3 support is currently disabled on Android prior to P and MIPS.
#if (defined(ARCH_CPU_ARM_FAMILY) && !defined(OS_WIN)) || \ #if (defined(ARCH_CPU_ARM_FAMILY) && !defined(OS_WIN) && !defined(OS_MAC)) || \
defined(ARCH_CPU_MIPS_FAMILY) defined(ARCH_CPU_MIPS_FAMILY)
#if defined(OS_ANDROID) #if defined(OS_ANDROID)
if (base::android::BuildInfo::GetInstance()->sdk_int() >= if (base::android::BuildInfo::GetInstance()->sdk_int() >=
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment