| 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 #include "media/filters/pipeline_integration_test_base.h" | 5 #include "media/filters/pipeline_integration_test_base.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 916 // Verify that VP9 video and Opus audio in the same WebM container can be played | 916 // Verify that VP9 video and Opus audio in the same WebM container can be played |
| 917 // back. | 917 // back. |
| 918 // Disabled since it might crash or corrupt heap, see http://crbug.com/173333 | 918 // Disabled since it might crash or corrupt heap, see http://crbug.com/173333 |
| 919 TEST_F(PipelineIntegrationTest, DISABLED_BasicPlayback_VP9_Opus_WebM) { | 919 TEST_F(PipelineIntegrationTest, DISABLED_BasicPlayback_VP9_Opus_WebM) { |
| 920 ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp9-opus.webm"), | 920 ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp9-opus.webm"), |
| 921 PIPELINE_OK)); | 921 PIPELINE_OK)); |
| 922 Play(); | 922 Play(); |
| 923 ASSERT_TRUE(WaitUntilOnEnded()); | 923 ASSERT_TRUE(WaitUntilOnEnded()); |
| 924 } | 924 } |
| 925 | 925 |
| 926 // Verify that VP8 video with alpha channel can be played back. |
| 927 TEST_F(PipelineIntegrationTest, BasicPlayback_VP8A_WebM) { |
| 928 ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp8a.webm"), |
| 929 PIPELINE_OK)); |
| 930 Play(); |
| 931 ASSERT_TRUE(WaitUntilOnEnded()); |
| 932 } |
| 933 |
| 926 } // namespace media | 934 } // namespace media |
| OLD | NEW |