Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: media/test/pipeline_integration_test.cc

Issue 978483002: Support VP9 video in the BT709 color space. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Prefer alpha over color space Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« media/filters/vpx_video_decoder.cc ('K') | « media/test/data/bear-vp9-bt709.webm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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"));
« media/filters/vpx_video_decoder.cc ('K') | « media/test/data/bear-vp9-bt709.webm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698