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

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

Issue 1376913003: Roll ffmpeg DEPS for security fix. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 DEMUXER_ERROR_COULD_NOT_OPEN, 131 DEMUXER_ERROR_COULD_NOT_OPEN,
132 DEMUXER_ERROR_COULD_NOT_OPEN); 132 DEMUXER_ERROR_COULD_NOT_OPEN);
133 FFMPEG_TEST_CASE(Cr444539, 133 FFMPEG_TEST_CASE(Cr444539,
134 "security/444539.m4a", 134 "security/444539.m4a",
135 DEMUXER_ERROR_COULD_NOT_OPEN, 135 DEMUXER_ERROR_COULD_NOT_OPEN,
136 DEMUXER_ERROR_COULD_NOT_OPEN); 136 DEMUXER_ERROR_COULD_NOT_OPEN);
137 FFMPEG_TEST_CASE(Cr444546, 137 FFMPEG_TEST_CASE(Cr444546,
138 "security/444546.mp4", 138 "security/444546.mp4",
139 DEMUXER_ERROR_COULD_NOT_OPEN, 139 DEMUXER_ERROR_COULD_NOT_OPEN,
140 DEMUXER_ERROR_COULD_NOT_OPEN); 140 DEMUXER_ERROR_COULD_NOT_OPEN);
141 FFMPEG_TEST_CASE(Cr447860,
142 "security/447860.webm",
143 PIPELINE_OK,
144 PIPELINE_OK);
141 FFMPEG_TEST_CASE(Cr449958, 145 FFMPEG_TEST_CASE(Cr449958,
142 "security/449958.webm", 146 "security/449958.webm",
143 PIPELINE_OK, 147 PIPELINE_OK,
144 PIPELINE_ERROR_DECODE); 148 PIPELINE_ERROR_DECODE);
145 FFMPEG_TEST_CASE(Cr536601, 149 FFMPEG_TEST_CASE(Cr536601,
146 "security/536601.m4a", 150 "security/536601.m4a",
147 PIPELINE_OK, 151 PIPELINE_OK,
148 PIPELINE_OK); 152 PIPELINE_OK);
153 FFMPEG_TEST_CASE(Cr532967,
154 "security/532967.webm",
155 PIPELINE_OK,
156 PIPELINE_OK);
157
149 158
150 // General MP4 test cases. 159 // General MP4 test cases.
151 FFMPEG_TEST_CASE(MP4_0, 160 FFMPEG_TEST_CASE(MP4_0,
152 "security/aac.10419.mp4", 161 "security/aac.10419.mp4",
153 DEMUXER_ERROR_COULD_NOT_OPEN, 162 DEMUXER_ERROR_COULD_NOT_OPEN,
154 DEMUXER_ERROR_COULD_NOT_OPEN); 163 DEMUXER_ERROR_COULD_NOT_OPEN);
155 FFMPEG_TEST_CASE(MP4_1, 164 FFMPEG_TEST_CASE(MP4_1,
156 "security/clockh264aac_200021889.mp4", 165 "security/clockh264aac_200021889.mp4",
157 DEMUXER_ERROR_COULD_NOT_OPEN, 166 DEMUXER_ERROR_COULD_NOT_OPEN,
158 DEMUXER_ERROR_COULD_NOT_OPEN); 167 DEMUXER_ERROR_COULD_NOT_OPEN);
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 } 355 }
347 356
348 TEST_P(FlakyFFmpegRegressionTest, BasicPlayback) { 357 TEST_P(FlakyFFmpegRegressionTest, BasicPlayback) {
349 if (Start(GetParam().filename, kClockless) == PIPELINE_OK) { 358 if (Start(GetParam().filename, kClockless) == PIPELINE_OK) {
350 Play(); 359 Play();
351 WaitUntilEndedOrError(); 360 WaitUntilEndedOrError();
352 } 361 }
353 } 362 }
354 363
355 } // namespace media 364 } // namespace media
OLDNEW
« no previous file with comments | « no previous file | media/filters/video_cadence_estimator.cc » ('j') | media/filters/video_cadence_estimator.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698