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

Unified Diff: media/filters/pipeline_integration_test.cc

Issue 318133002: Always round up coded size to avoid VideoFrame restrictions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test! Created 6 years, 6 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
Index: media/filters/pipeline_integration_test.cc
diff --git a/media/filters/pipeline_integration_test.cc b/media/filters/pipeline_integration_test.cc
index beddc982351c3d4e1be4898e64cdafd08380b985..057039d2f1d9df533bf919183260c40163e4ecd7 100644
--- a/media/filters/pipeline_integration_test.cc
+++ b/media/filters/pipeline_integration_test.cc
@@ -1463,6 +1463,14 @@ TEST_F(PipelineIntegrationTest, P444_VP9_WebM) {
EXPECT_EQ(last_video_frame_format_, VideoFrame::YV24);
}
+// Verify that videos with an odd frame size playback successfully.
+TEST_F(PipelineIntegrationTest, BasicPlayback_OddVideoSize) {
+ ASSERT_TRUE(Start(GetTestDataFilePath("butterfly-853x480.webm"),
+ PIPELINE_OK));
+ Play();
+ ASSERT_TRUE(WaitUntilOnEnded());
+}
+
// For MediaSource tests, generate two sets of tests: one using FrameProcessor,
// and one using LegacyFrameProcessor.
INSTANTIATE_TEST_CASE_P(NewFrameProcessor, PipelineIntegrationTest,
« media/filters/ffmpeg_video_decoder.cc ('K') | « media/filters/ffmpeg_video_decoder.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698