| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include "base/base64.h" | 7 #include "base/base64.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/environment.h" | 9 #include "base/environment.h" |
| 10 #include "base/files/file.h" | 10 #include "base/files/file.h" |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 } | 350 } |
| 351 | 351 |
| 352 IN_PROC_BROWSER_TEST_P(WebRtcVideoQualityBrowserTest, | 352 IN_PROC_BROWSER_TEST_P(WebRtcVideoQualityBrowserTest, |
| 353 MANUAL_TestVideoQualityVp9) { | 353 MANUAL_TestVideoQualityVp9) { |
| 354 base::ThreadRestrictions::ScopedAllowIO allow_io; | 354 base::ThreadRestrictions::ScopedAllowIO allow_io; |
| 355 TestVideoQuality("VP9"); | 355 TestVideoQuality("VP9"); |
| 356 } | 356 } |
| 357 | 357 |
| 358 #if BUILDFLAG(RTC_USE_H264) | 358 #if BUILDFLAG(RTC_USE_H264) |
| 359 | 359 |
| 360 // TODO(philipel): Set to MANUAL_TestVideoQualityH264 when H264 fixes has |
| 361 // landed (crbug.com/722746). |
| 360 IN_PROC_BROWSER_TEST_P(WebRtcVideoQualityBrowserTest, | 362 IN_PROC_BROWSER_TEST_P(WebRtcVideoQualityBrowserTest, |
| 361 MANUAL_TestVideoQualityH264) { | 363 DISABLED_TestVideoQualityH264) { |
| 362 base::ThreadRestrictions::ScopedAllowIO allow_io; | 364 base::ThreadRestrictions::ScopedAllowIO allow_io; |
| 363 // Only run test if run-time feature corresponding to |rtc_use_h264| is on. | 365 // Only run test if run-time feature corresponding to |rtc_use_h264| is on. |
| 364 if (!base::FeatureList::IsEnabled(content::kWebRtcH264WithOpenH264FFmpeg)) { | 366 if (!base::FeatureList::IsEnabled(content::kWebRtcH264WithOpenH264FFmpeg)) { |
| 365 LOG(WARNING) << "Run-time feature WebRTC-H264WithOpenH264FFmpeg disabled. " | 367 LOG(WARNING) << "Run-time feature WebRTC-H264WithOpenH264FFmpeg disabled. " |
| 366 "Skipping WebRtcVideoQualityBrowserTest.MANUAL_TestVideoQualityH264 " | 368 "Skipping WebRtcVideoQualityBrowserTest.MANUAL_TestVideoQualityH264 " |
| 367 "(test \"OK\")"; | 369 "(test \"OK\")"; |
| 368 return; | 370 return; |
| 369 } | 371 } |
| 370 TestVideoQuality("H264"); | 372 TestVideoQuality("H264"); |
| 371 } | 373 } |
| 372 | 374 |
| 373 #endif // BUILDFLAG(RTC_USE_H264) | 375 #endif // BUILDFLAG(RTC_USE_H264) |
| OLD | NEW |