Index: media/test/pipeline_integration_test.cc |
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc |
index 1ae0ac8f800aad0933a274de404b0af6b7aaf366..6f8e9bae57f5ee5d5bffee6f07190b42ac71beab 100644 |
--- a/media/test/pipeline_integration_test.cc |
+++ b/media/test/pipeline_integration_test.cc |
@@ -2198,6 +2198,22 @@ TEST_F(PipelineIntegrationTest, BasicPlayback_VP9_Odd_WebM) { |
ASSERT_TRUE(WaitUntilOnEnded()); |
} |
+// Verify that VP9 video with alpha channel can be played back. |
+TEST_F(PipelineIntegrationTest, BasicPlayback_VP9A_WebM) { |
+ ASSERT_EQ(PIPELINE_OK, Start("bear-vp9a.webm")); |
+ Play(); |
+ ASSERT_TRUE(WaitUntilOnEnded()); |
+ EXPECT_VIDEO_FORMAT_EQ(last_video_frame_format_, PIXEL_FORMAT_YV12A); |
+} |
+ |
+// Verify that VP9A video with odd width/height can be played back. |
+TEST_F(PipelineIntegrationTest, BasicPlayback_VP9A_Odd_WebM) { |
+ ASSERT_EQ(PIPELINE_OK, Start("bear-vp9a-odd-dimensions.webm")); |
+ Play(); |
+ ASSERT_TRUE(WaitUntilOnEnded()); |
+ EXPECT_VIDEO_FORMAT_EQ(last_video_frame_format_, PIXEL_FORMAT_YV12A); |
+} |
+ |
// Verify that VP8 video with inband text track can be played back. |
TEST_F(PipelineIntegrationTest, MAYBE_TEXT(BasicPlayback_VP8_WebVTT_WebM)) { |
EXPECT_CALL(*this, OnAddTextTrack(_, _)); |