Bug 1403412 - disable VP9 estimizer on Mac; r=jya

MozReview-Commit-ID: 8RTe7lVSRwl

--HG--
extra : rebase_source : 5e67fae9fa287c4188402d8956d90e4ce47e1f32
This commit is contained in:
Kaku Kuo 2017-09-28 00:17:29 +08:00
parent b0d7f38b36
commit eb83d295c7

View File

@ -44,7 +44,8 @@ VP9Benchmark::IsVP9DecodeFast()
{
MOZ_ASSERT(NS_IsMainThread());
#ifdef MOZ_WIDGET_ANDROID
// Disable VP9 estimizer on Mac, see bug 1400787.
#if defined(MOZ_WIDGET_ANDROID) || defined(MOZ_APPLEMEDIA)
return false;
#else
bool hasPref = Preferences::HasUserValue(sBenchmarkFpsPref);