diff options
author | watk <watk@chromium.org> | 2015-03-04 12:01:35 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-04 20:02:18 +0000 |
commit | a1d1bd0dd33973d7cf0110a1e3bbefafe54037ba (patch) | |
tree | e2482562ecbae10a8f4159bc67d35d0ef616bd36 /media/test/pipeline_integration_test.cc | |
parent | e23fcf6558f0e96331f02a1e36bcf7699135038f (diff) | |
download | chromium_src-a1d1bd0dd33973d7cf0110a1e3bbefafe54037ba.zip chromium_src-a1d1bd0dd33973d7cf0110a1e3bbefafe54037ba.tar.gz chromium_src-a1d1bd0dd33973d7cf0110a1e3bbefafe54037ba.tar.bz2 |
Support VP9 video in the BT709 color space.
Previously vp9 video was assumed to be in BT601. Now the vp9
color space flag is used to support BT709 as well.
BUG=447716
TEST=media_unittests --gtest_filter='PipelineIntegrationTest*'
Review URL: https://codereview.chromium.org/978483002
Cr-Commit-Position: refs/heads/master@{#319110}
Diffstat (limited to 'media/test/pipeline_integration_test.cc')
-rw-r--r-- | media/test/pipeline_integration_test.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/media/test/pipeline_integration_test.cc b/media/test/pipeline_integration_test.cc index 55bba58..bf502df 100644 --- a/media/test/pipeline_integration_test.cc +++ b/media/test/pipeline_integration_test.cc @@ -1651,6 +1651,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")); |