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

Unified Diff: content/renderer/media/android/webmediaplayer_android.cc

Issue 730103002: Create "stream texture proxy" before "stream texture" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/android/webmediaplayer_android.cc
diff --git a/content/renderer/media/android/webmediaplayer_android.cc b/content/renderer/media/android/webmediaplayer_android.cc
index 8d160f52db1792d20f4655459b4ee85f389a2ac1..a9655327b1a96d709e6fa638972b48af4852a460 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -164,8 +164,7 @@ WebMediaPlayerAndroid::WebMediaPlayerAndroid(
#if defined(VIDEO_HOLE)
force_use_overlay_embedded_video_ = CommandLine::ForCurrentProcess()->
HasSwitch(switches::kForceUseOverlayEmbeddedVideo);
- if (force_use_overlay_embedded_video_ ||
- player_manager_->ShouldUseVideoOverlayForEmbeddedEncryptedVideo()) {
qinmin 2014/11/17 19:06:45 If this is true, needs_establish_peer_ will be set
+ if (force_use_overlay_embedded_video_) {
// Defer stream texture creation until we are sure it's necessary.
needs_establish_peer_ = false;
current_frame_ = VideoFrame::CreateBlackFrame(gfx::Size(1, 1));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698