Index: media/filters/pipeline_integration_test.cc |
diff --git a/media/filters/pipeline_integration_test.cc b/media/filters/pipeline_integration_test.cc |
index 1b96bdb4f06830b33451987212629225bf23f6a7..6537fcc0bcfe0fa5c103553b4dce5e891fd499a2 100644 |
--- a/media/filters/pipeline_integration_test.cc |
+++ b/media/filters/pipeline_integration_test.cc |
@@ -1082,6 +1082,16 @@ TEST_F(PipelineIntegrationTest, BasicPlayback_VP8A_WebM) { |
EXPECT_EQ(last_video_frame_format_, VideoFrame::YV12A); |
} |
+// Verify that VP8A video with odd width/height can be played back. |
+TEST_F(PipelineIntegrationTest, BasicPlayback_VP8A_Odd_WebM) { |
+ EXPECT_CALL(*this, OnSetOpaque(false)).Times(AnyNumber()); |
+ ASSERT_TRUE(Start(GetTestDataFilePath("bear-vp8a-odd-dimensions.webm"), |
+ PIPELINE_OK)); |
+ Play(); |
+ ASSERT_TRUE(WaitUntilOnEnded()); |
+ EXPECT_EQ(last_video_frame_format_, VideoFrame::YV12A); |
+} |
+ |
// Verify that VP8 video with inband text track can be played back. |
TEST_F(PipelineIntegrationTest, |
BasicPlayback_VP8_WebVTT_WebM) { |