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

Side by Side Diff: media/ffmpeg/ffmpeg_regression_tests.cc

Issue 2639333002: Test fixes for M57 ffmpeg roll. (Closed)
Patch Set: Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Regression tests for FFmpeg. Test files can be found in the internal media 5 // Regression tests for FFmpeg. Test files can be found in the internal media
6 // test data directory: 6 // test data directory:
7 // 7 //
8 // https://chrome-internal.googlesource.com/chrome/data/media 8 // https://chrome-internal.googlesource.com/chrome/data/media
9 // 9 //
10 // Simply add the custom_dep below to your gclient and sync: 10 // Simply add the custom_dep below to your gclient and sync:
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 DEMUXER_ERROR_COULD_NOT_PARSE); 245 DEMUXER_ERROR_COULD_NOT_PARSE);
246 FFMPEG_TEST_CASE(MP4_9, 246 FFMPEG_TEST_CASE(MP4_9,
247 "security/smclockmp4aac_1_0.mp4", 247 "security/smclockmp4aac_1_0.mp4",
248 DEMUXER_ERROR_COULD_NOT_OPEN, 248 DEMUXER_ERROR_COULD_NOT_OPEN,
249 DEMUXER_ERROR_COULD_NOT_OPEN); 249 DEMUXER_ERROR_COULD_NOT_OPEN);
250 FFMPEG_TEST_CASE(MP4_11, "security/null1.mp4", PIPELINE_OK, PIPELINE_OK); 250 FFMPEG_TEST_CASE(MP4_11, "security/null1.mp4", PIPELINE_OK, PIPELINE_OK);
251 FFMPEG_TEST_CASE(MP4_16, 251 FFMPEG_TEST_CASE(MP4_16,
252 "security/looping2.mov", 252 "security/looping2.mov",
253 DEMUXER_ERROR_COULD_NOT_OPEN, 253 DEMUXER_ERROR_COULD_NOT_OPEN,
254 DEMUXER_ERROR_COULD_NOT_OPEN); 254 DEMUXER_ERROR_COULD_NOT_OPEN);
255 FFMPEG_TEST_CASE(MP4_17, "security/assert2.mov", PIPELINE_OK, PIPELINE_OK); 255 FFMPEG_TEST_CASE(MP4_17,
256 "security/assert2.mov",
257 DEMUXER_ERROR_COULD_NOT_OPEN,
258 PIPELINE_OK);
256 259
257 // General OGV test cases. 260 // General OGV test cases.
258 FFMPEG_TEST_CASE(OGV_1, 261 FFMPEG_TEST_CASE(OGV_1,
259 "security/out.163.ogv", 262 "security/out.163.ogv",
260 DECODER_ERROR_NOT_SUPPORTED, 263 DECODER_ERROR_NOT_SUPPORTED,
261 DECODER_ERROR_NOT_SUPPORTED); 264 DECODER_ERROR_NOT_SUPPORTED);
262 FFMPEG_TEST_CASE(OGV_2, 265 FFMPEG_TEST_CASE(OGV_2,
263 "security/out.391.ogv", 266 "security/out.391.ogv",
264 DECODER_ERROR_NOT_SUPPORTED, 267 DECODER_ERROR_NOT_SUPPORTED,
265 DECODER_ERROR_NOT_SUPPORTED); 268 DECODER_ERROR_NOT_SUPPORTED);
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 } 422 }
420 423
421 TEST_P(FlakyFFmpegRegressionTest, BasicPlayback) { 424 TEST_P(FlakyFFmpegRegressionTest, BasicPlayback) {
422 if (Start(GetParam().filename, kClockless) == PIPELINE_OK) { 425 if (Start(GetParam().filename, kClockless) == PIPELINE_OK) {
423 Play(); 426 Play();
424 WaitUntilEndedOrError(); 427 WaitUntilEndedOrError();
425 } 428 }
426 } 429 }
427 430
428 } // namespace media 431 } // namespace media
OLDNEW
« no previous file with comments | « no previous file | media/test/pipeline_integration_test_base.cc » ('j') | media/test/pipeline_integration_test_base.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698