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

Side by Side Diff: content/browser/media/encrypted_media_browsertest.cc

Issue 1840173004: Flip unified media pipeline to default-on w/ disabled holdback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Comments. Fix UMA. Created 4 years, 8 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/command_line.h" 5 #include "base/command_line.h"
6 #include "base/strings/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
7 #include "base/win/windows_version.h" 7 #include "base/win/windows_version.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/browser/media/media_browsertest.h" 9 #include "content/browser/media/media_browsertest.h"
10 #include "content/public/common/content_switches.h" 10 #include "content/public/common/content_switches.h"
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 #if defined(OS_ANDROID) 186 #if defined(OS_ANDROID)
187 return; 187 return;
188 #endif 188 #endif
189 TestSimplePlayback("bear-320x240-opus-av_enc-v.webm", kWebMAudioVideo); 189 TestSimplePlayback("bear-320x240-opus-av_enc-v.webm", kWebMAudioVideo);
190 } 190 }
191 191
192 IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, ConfigChangeVideo) { 192 IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, ConfigChangeVideo) {
193 TestConfigChange(); 193 TestConfigChange();
194 } 194 }
195 195
196 // Playback of this video on Android w/ Spitzer enabled causes glitches. See
197 // http://crbug.com/598963.
198 #if !defined(OS_ANDROID)
196 IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, FrameSizeChangeVideo) { 199 IN_PROC_BROWSER_TEST_P(EncryptedMediaTest, FrameSizeChangeVideo) {
197 TestFrameSizeChange(); 200 TestFrameSizeChange();
198 } 201 }
202 #endif
199 203
200 IN_PROC_BROWSER_TEST_F(EncryptedMediaTest, UnknownKeySystemThrowsException) { 204 IN_PROC_BROWSER_TEST_F(EncryptedMediaTest, UnknownKeySystemThrowsException) {
201 RunEncryptedMediaTest(kDefaultEmePlayer, 205 RunEncryptedMediaTest(kDefaultEmePlayer,
202 "bear-a_enc-a.webm", 206 "bear-a_enc-a.webm",
203 kWebMAudioOnly, 207 kWebMAudioOnly,
204 "com.example.foo", 208 "com.example.foo",
205 MSE, 209 MSE,
206 kEmeNotSupportedError); 210 kEmeNotSupportedError);
207 } 211 }
208 212
209 } // namespace content 213 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/media/media_canplaytype_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698