OLD | NEW |
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 // svn://svn.chromium.org/chrome-internal/trunk/data/media/ | 8 // svn://svn.chromium.org/chrome-internal/trunk/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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 DEMUXER_ERROR_COULD_NOT_OPEN); | 137 DEMUXER_ERROR_COULD_NOT_OPEN); |
138 FFMPEG_TEST_CASE(Cr444522, "security/444522.mp4", PIPELINE_OK, PIPELINE_OK); | 138 FFMPEG_TEST_CASE(Cr444522, "security/444522.mp4", PIPELINE_OK, PIPELINE_OK); |
139 FFMPEG_TEST_CASE(Cr444539, | 139 FFMPEG_TEST_CASE(Cr444539, |
140 "security/444539.m4a", | 140 "security/444539.m4a", |
141 DEMUXER_ERROR_COULD_NOT_OPEN, | 141 DEMUXER_ERROR_COULD_NOT_OPEN, |
142 DEMUXER_ERROR_COULD_NOT_OPEN); | 142 DEMUXER_ERROR_COULD_NOT_OPEN); |
143 FFMPEG_TEST_CASE(Cr444546, | 143 FFMPEG_TEST_CASE(Cr444546, |
144 "security/444546.mp4", | 144 "security/444546.mp4", |
145 DEMUXER_ERROR_COULD_NOT_OPEN, | 145 DEMUXER_ERROR_COULD_NOT_OPEN, |
146 DEMUXER_ERROR_COULD_NOT_OPEN); | 146 DEMUXER_ERROR_COULD_NOT_OPEN); |
| 147 FFMPEG_TEST_CASE(Cr449958, |
| 148 "security/449958.webm", |
| 149 PIPELINE_OK, |
| 150 PIPELINE_ERROR_DECODE); |
147 | 151 |
148 // General MP4 test cases. | 152 // General MP4 test cases. |
149 FFMPEG_TEST_CASE(MP4_0, | 153 FFMPEG_TEST_CASE(MP4_0, |
150 "security/aac.10419.mp4", | 154 "security/aac.10419.mp4", |
151 DEMUXER_ERROR_COULD_NOT_OPEN, | 155 DEMUXER_ERROR_COULD_NOT_OPEN, |
152 DEMUXER_ERROR_COULD_NOT_OPEN); | 156 DEMUXER_ERROR_COULD_NOT_OPEN); |
153 FFMPEG_TEST_CASE(MP4_1, | 157 FFMPEG_TEST_CASE(MP4_1, |
154 "security/clockh264aac_200021889.mp4", | 158 "security/clockh264aac_200021889.mp4", |
155 DEMUXER_ERROR_COULD_NOT_OPEN, | 159 DEMUXER_ERROR_COULD_NOT_OPEN, |
156 DEMUXER_ERROR_COULD_NOT_OPEN); | 160 DEMUXER_ERROR_COULD_NOT_OPEN); |
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
344 } | 348 } |
345 | 349 |
346 TEST_P(FlakyFFmpegRegressionTest, BasicPlayback) { | 350 TEST_P(FlakyFFmpegRegressionTest, BasicPlayback) { |
347 if (Start(GetParam().filename, kClockless) == PIPELINE_OK) { | 351 if (Start(GetParam().filename, kClockless) == PIPELINE_OK) { |
348 Play(); | 352 Play(); |
349 WaitUntilEndedOrError(); | 353 WaitUntilEndedOrError(); |
350 } | 354 } |
351 } | 355 } |
352 | 356 |
353 } // namespace media | 357 } // namespace media |
OLD | NEW |