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

Side by Side Diff: content/browser/media_browsertest.cc

Issue 10452004: Add GSM_MS and PCM_ALAW codecs to CrOS FFMPEG. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | media/base/audio_decoder_config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/basictypes.h" 5 #include "base/basictypes.h"
6 #include "base/string16.h" 6 #include "base/string16.h"
7 #include "base/stringprintf.h" 7 #include "base/stringprintf.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/utf_string_conversions.h" 9 #include "base/utf_string_conversions.h"
10 #include "content/public/test/browser_test_utils.h" 10 #include "content/public/test/browser_test_utils.h"
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 } 84 }
85 85
86 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBear3gpAacH264) { 86 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBear3gpAacH264) {
87 PlayVideo("bear_h264_aac.3gp"); 87 PlayVideo("bear_h264_aac.3gp");
88 } 88 }
89 89
90 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBear3gpAmrnbMpeg4) { 90 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBear3gpAmrnbMpeg4) {
91 PlayVideo("bear_mpeg4_amrnb.3gp"); 91 PlayVideo("bear_mpeg4_amrnb.3gp");
92 } 92 }
93 93
94 // TODO(ihf): Enable these audio codecs for CrOS. 94 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearWavGsmms) {
95 // IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearWavAlaw) { 95 PlayAudio("bear_gsm_ms.wav");
96 // PlayVideo("bear_alaw.wav"); 96 }
97 // }
98 // IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearWavGsmms) {
99 // PlayVideo("bear_gsmms.wav");
100 // }
101 97
102 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearWavMulaw) { 98 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearWavMulaw) {
103 PlayAudio("bear_mulaw.wav"); 99 PlayAudio("bear_mulaw.wav");
104 } 100 }
105 101
102 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearMovPcmS16be) {
103 PlayVideo("bear_pcm_s16be.mov");
104 }
105
106 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearMovPcmS24be) {
107 PlayVideo("bear_pcm_s24be.mov");
108 }
109
106 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearFlac) { 110 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearFlac) {
107 PlayAudio("bear.flac"); 111 PlayAudio("bear.flac");
108 } 112 }
109 #endif 113 #endif
110 #endif 114 #endif
111 115
112 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearWavPcm) { 116 IN_PROC_BROWSER_TEST_F(MediaTest, VideoBearWavPcm) {
113 PlayAudio("bear_pcm.wav"); 117 PlayAudio("bear_pcm.wav");
114 } 118 }
115 119
(...skipping 30 matching lines...) Expand all
146 } 150 }
147 151
148 // TODO(dalecurtis): Disabled because loop is flaky. http://crbug.com/134021 152 // TODO(dalecurtis): Disabled because loop is flaky. http://crbug.com/134021
149 // IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoLoopTest) { 153 // IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoLoopTest) {
150 // RunLayoutTest("video-loop.html"); 154 // RunLayoutTest("video-loop.html");
151 // } 155 // }
152 156
153 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoNoAutoplayTest) { 157 IN_PROC_BROWSER_TEST_F(MediaLayoutTest, VideoNoAutoplayTest) {
154 RunLayoutTest("video-no-autoplay.html"); 158 RunLayoutTest("video-no-autoplay.html");
155 } 159 }
OLDNEW
« no previous file with comments | « no previous file | media/base/audio_decoder_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698