Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: media/base/test_helpers.cc

Issue 2874433002: Fix/Disable ffmpeg Media Tests on Android (Closed)
Patch Set: Using pragmas and default params as suggested by watk Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/test_helpers.h ('k') | media/filters/ffmpeg_video_decoder_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/test_helpers.cc
diff --git a/media/base/test_helpers.cc b/media/base/test_helpers.cc
index 2a0c3211293e6709d86de955fbdc2c015d16e075..4617630f857fd8d4a52d2b21c892044ab942c2b4 100644
--- a/media/base/test_helpers.cc
+++ b/media/base/test_helpers.cc
@@ -147,8 +147,8 @@ VideoDecoderConfig TestVideoConfig::Invalid() {
}
// static
-VideoDecoderConfig TestVideoConfig::Normal() {
- return GetTestConfig(kCodecVP8, kNormalSize, false);
+VideoDecoderConfig TestVideoConfig::Normal(VideoCodec codec) {
+ return GetTestConfig(codec, kNormalSize, false);
}
// static
@@ -157,18 +157,18 @@ VideoDecoderConfig TestVideoConfig::NormalH264() {
}
// static
-VideoDecoderConfig TestVideoConfig::NormalEncrypted() {
- return GetTestConfig(kCodecVP8, kNormalSize, true);
+VideoDecoderConfig TestVideoConfig::NormalEncrypted(VideoCodec codec) {
+ return GetTestConfig(codec, kNormalSize, true);
}
// static
-VideoDecoderConfig TestVideoConfig::Large() {
- return GetTestConfig(kCodecVP8, kLargeSize, false);
+VideoDecoderConfig TestVideoConfig::Large(VideoCodec codec) {
+ return GetTestConfig(codec, kLargeSize, false);
}
// static
-VideoDecoderConfig TestVideoConfig::LargeEncrypted() {
- return GetTestConfig(kCodecVP8, kLargeSize, true);
+VideoDecoderConfig TestVideoConfig::LargeEncrypted(VideoCodec codec) {
+ return GetTestConfig(codec, kLargeSize, true);
}
// static
« no previous file with comments | « media/base/test_helpers.h ('k') | media/filters/ffmpeg_video_decoder_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698