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 // ffmpeg_unittests verify that the parts of the FFmpeg API that Chromium uses | 5 // ffmpeg_unittests verify that the parts of the FFmpeg API that Chromium uses |
6 // function as advertised for each media format that Chromium supports. This | 6 // function as advertised for each media format that Chromium supports. This |
7 // mostly includes stuff like reporting proper timestamps, seeking to | 7 // mostly includes stuff like reporting proper timestamps, seeking to |
8 // keyframes, and supporting certain features like reordered_opaque. | 8 // keyframes, and supporting certain features like reordered_opaque. |
9 // | 9 // |
10 // Known failures as of r54591: | 10 // Known failures as of r54591: |
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 FFMPEG_TEST_CASE(sync2, m4a); | 453 FFMPEG_TEST_CASE(sync2, m4a); |
454 FFMPEG_TEST_CASE(sync2, mp3); | 454 FFMPEG_TEST_CASE(sync2, mp3); |
455 FFMPEG_TEST_CASE(sync2, mp4); | 455 FFMPEG_TEST_CASE(sync2, mp4); |
456 FFMPEG_TEST_CASE(sync2, ogg); | 456 FFMPEG_TEST_CASE(sync2, ogg); |
457 FFMPEG_TEST_CASE(sync2, ogv); | 457 FFMPEG_TEST_CASE(sync2, ogv); |
458 FFMPEG_TEST_CASE(sync2, webm); | 458 FFMPEG_TEST_CASE(sync2, webm); |
459 | 459 |
460 // Covers our LayoutTest file. | 460 // Covers our LayoutTest file. |
461 FFMPEG_TEST_CASE(counting, ogv); | 461 FFMPEG_TEST_CASE(counting, ogv); |
462 | 462 |
463 // The following are bugs reported by users. | |
464 FFMPEG_TEST_CASE(crbug47761, ogg); | |
465 FFMPEG_TEST_CASE(crbug50045, mp4); | |
466 FFMPEG_TEST_CASE(crbug62127, webm); | |
467 | |
468 TEST_P(FFmpegTest, Perf) { | 463 TEST_P(FFmpegTest, Perf) { |
469 { | 464 { |
470 PerfTimeLogger timer("Opening file"); | 465 PerfTimeLogger timer("Opening file"); |
471 OpenFile(GetParam()); | 466 OpenFile(GetParam()); |
472 } | 467 } |
473 { | 468 { |
474 PerfTimeLogger timer("Opening codecs"); | 469 PerfTimeLogger timer("Opening codecs"); |
475 OpenCodecs(); | 470 OpenCodecs(); |
476 } | 471 } |
477 { | 472 { |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 SeekTo(0.4); | 650 SeekTo(0.4); |
656 ReadRemainingFile(); | 651 ReadRemainingFile(); |
657 EXPECT_TRUE(StepDecodeVideo()); | 652 EXPECT_TRUE(StepDecodeVideo()); |
658 VLOG(1) << decoded_video_time(); | 653 VLOG(1) << decoded_video_time(); |
659 | 654 |
660 CloseCodecs(); | 655 CloseCodecs(); |
661 CloseFile(); | 656 CloseFile(); |
662 } | 657 } |
663 | 658 |
664 } // namespace media | 659 } // namespace media |
OLD | NEW |