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

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

Issue 1134643002: Add distinction between RGB and RGBA native texture video frames and resources (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 b476985f7fe8dde16134167032f4711388c476e7..ccf4ce7d2c6f11d1b473f94af7b3d5a635c2b0ed 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -1210,7 +1210,7 @@ void WebMediaPlayerAndroid::DrawRemotePlaybackText(
remote_playback_texture_id)),
canvas_size /* coded_size */, gfx::Rect(canvas_size) /* visible_rect */,
canvas_size /* natural_size */, base::TimeDelta() /* timestamp */,
- false /* allow overlay */);
+ false /* allow overlay */, true /* has_alpha */);
SetCurrentFrameInternal(new_frame);
}
@@ -1246,7 +1246,7 @@ void WebMediaPlayerAndroid::ReallocateVideoFrame() {
media::BindToCurrentLoop(base::Bind(
&OnReleaseTexture, stream_texture_factory_, texture_id_ref)),
natural_size_, gfx::Rect(natural_size_), natural_size_,
- base::TimeDelta(), false);
+ base::TimeDelta(), false /* allows_overlay */, true /* has_alpha */);
xhwang 2015/05/12 17:22:29 here and throughout the CL, s/allows_overlay/allow
halliwell 2015/05/12 17:50:04 Done.
SetCurrentFrameInternal(new_frame);
}
}
« no previous file with comments | « content/browser/renderer_host/media/video_capture_device_client.cc ('k') | content/renderer/media/rtc_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698