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

Unified Diff: media/test/pipeline_integration_test.cc

Issue 2752323002: Support Opus Ambisonics playback (Closed)
Patch Set: another fix for unreliable ffmpeg channels vs layout Created 3 years, 7 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
« no previous file with comments | « media/test/data/bear-opus-end-trimming-4ch-channelmapping2.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 331b9d38d5b912ee6362d139ff87251a40f86365..94cbf7bf52eea1588449d068c6c17834bc9d95ed 100644
--- a/media/test/pipeline_integration_test.cc
+++ b/media/test/pipeline_integration_test.cc
@@ -566,6 +566,24 @@ TEST_F(PipelineIntegrationTest, BasicPlaybackOpusOgg) {
ASSERT_TRUE(WaitUntilOnEnded());
}
+TEST_F(PipelineIntegrationTest, BasicPlaybackOpusOgg_4ch_ChannelMapping2) {
+ ASSERT_EQ(PIPELINE_OK,
+ Start("bear-opus-4ch-channelmapping2.ogg", kClockless));
+
+ Play();
+
+ ASSERT_TRUE(WaitUntilOnEnded());
+}
+
+TEST_F(PipelineIntegrationTest, BasicPlaybackOpusOgg_11ch_ChannelMapping2) {
+ ASSERT_EQ(PIPELINE_OK,
+ Start("bear-opus-11ch-channelmapping2.ogg", kClockless));
+
+ Play();
+
+ ASSERT_TRUE(WaitUntilOnEnded());
+}
+
TEST_F(PipelineIntegrationTest, BasicPlaybackHashed) {
ASSERT_EQ(PIPELINE_OK, Start("bear-320x240.webm", kHashed));
@@ -2198,6 +2216,24 @@ TEST_F(PipelineIntegrationTest, BasicPlayback_AudioOnly_Opus_WebM) {
ASSERT_TRUE(WaitUntilOnEnded());
}
+TEST_F(PipelineIntegrationTest,
+ BasicPlayback_AudioOnly_Opus_4ch_ChannelMapping2_WebM) {
+ ASSERT_EQ(
+ PIPELINE_OK,
+ Start("bear-opus-end-trimming-4ch-channelmapping2.webm", kClockless));
+ Play();
+ ASSERT_TRUE(WaitUntilOnEnded());
+}
+
+TEST_F(PipelineIntegrationTest,
+ BasicPlayback_AudioOnly_Opus_11ch_ChannelMapping2_WebM) {
+ ASSERT_EQ(
+ PIPELINE_OK,
+ Start("bear-opus-end-trimming-11ch-channelmapping2.webm", kClockless));
+ Play();
+ ASSERT_TRUE(WaitUntilOnEnded());
+}
+
// Verify that VP9 video in WebM containers can be played back.
TEST_F(PipelineIntegrationTest, BasicPlayback_VideoOnly_VP9_WebM) {
ASSERT_EQ(PIPELINE_OK, Start("bear-vp9.webm"));
« no previous file with comments | « media/test/data/bear-opus-end-trimming-4ch-channelmapping2.webm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698