Bug 1524119 - Properly get VP9 benchmark value. r=bryce
authorJean-Yves Avenard <jyavenard@mozilla.com>
Thu, 31 Jan 2019 17:55:45 +0000
changeset 456327 9f49631d6536a27752469cac43e60ed1f19eed55
parent 456326 83598ee9b2e8378bc141c46bd9acdce730dc4fd9
child 456328 9097dc60840f93fe9ebb697574c82cf15745ff37
push id35478
push usershindli@mozilla.com
push dateFri, 01 Feb 2019 03:55:46 +0000
treeherdermozilla-central@945770882765 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbryce
bugs1524119
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1524119 - Properly get VP9 benchmark value. r=bryce And not the threshold which is always 150. Differential Revision: https://phabricator.services.mozilla.com/D18159
dom/media/Benchmark.cpp
--- a/dom/media/Benchmark.cpp
+++ b/dom/media/Benchmark.cpp
@@ -62,17 +62,17 @@ bool VP9Benchmark::ShouldRun() {
 #endif
 }
 
 // static
 uint32_t VP9Benchmark::MediaBenchmarkVp9Fps() {
   if (!ShouldRun()) {
     return 0;
   }
-  return StaticPrefs::MediaBenchmarkVp9Threshold();
+  return StaticPrefs::MediaBenchmarkVp9Fps();
 }
 
 // static
 bool VP9Benchmark::IsVP9DecodeFast(bool aDefault) {
 #if defined(MOZ_WIDGET_ANDROID)
   return false;
 #else
   if (!ShouldRun()) {