Index: media/filters/pipeline_integration_test.cc |
diff --git a/media/filters/pipeline_integration_test.cc b/media/filters/pipeline_integration_test.cc |
index d3caa1ea9075e45cf3ad7c66307d8535da12624e..3bf620372ed2bb582e700e1db6832b2b51c85e13 100644 |
--- a/media/filters/pipeline_integration_test.cc |
+++ b/media/filters/pipeline_integration_test.cc |
@@ -1444,6 +1444,15 @@ TEST_F(PipelineIntegrationTest, |
ASSERT_TRUE(WaitUntilOnEnded()); |
} |
+// Verify that VP9 video with 4:4:4 subsampling can be played back. |
+TEST_F(PipelineIntegrationTest, P444_VP9_WebM) { |
+ ASSERT_TRUE(Start(GetTestDataFilePath("bear-320x240-P444.webm"), |
+ PIPELINE_OK)); |
+ Play(); |
+ ASSERT_TRUE(WaitUntilOnEnded()); |
+ EXPECT_EQ(last_video_frame_format_, VideoFrame::YV24); |
+} |
+ |
// For MediaSource tests, generate two sets of tests: one using FrameProcessor, |
// and one using LegacyFrameProcessor. |
INSTANTIATE_TEST_CASE_P(NewFrameProcessor, PipelineIntegrationTest, |