Index: media/test/pipeline_integration_test.cc |
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc |
index c2e23f8f2165c8b2c43b8356e03a325e01b62d3f..38d9266878132599c1c83b2deda8888c7e6406b2 100644 |
--- a/media/test/pipeline_integration_test.cc |
+++ b/media/test/pipeline_integration_test.cc |
@@ -1639,6 +1639,15 @@ TEST_F(PipelineIntegrationTest, P444_VP9_WebM) { |
EXPECT_VIDEO_FORMAT_EQ(last_video_frame_format_, VideoFrame::YV24); |
} |
+// Verify that frames of VP9 video in the BT.709 color space have the YV12HD |
+// format. |
+TEST_F(PipelineIntegrationTest, BT709_VP9_WebM) { |
+ ASSERT_EQ(PIPELINE_OK, Start("bear-vp9-bt709.webm")); |
+ Play(); |
+ ASSERT_TRUE(WaitUntilOnEnded()); |
+ EXPECT_VIDEO_FORMAT_EQ(last_video_frame_format_, VideoFrame::YV12HD); |
+} |
+ |
// Verify that videos with an odd frame size playback successfully. |
TEST_F(PipelineIntegrationTest, BasicPlayback_OddVideoSize) { |
ASSERT_EQ(PIPELINE_OK, Start("butterfly-853x480.webm")); |