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

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

Issue 850993002: gpu video: optimize HW video to SW canvas and implement it for WebRTC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android build fail Created 5 years, 10 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 e0b77067760f2aefdefe6b363bd2c2c381d258ac..d54c8264d762b393c50e9a65b60f27acddc1b726 100644
--- a/content/renderer/media/android/webmediaplayer_android.cc
+++ b/content/renderer/media/android/webmediaplayer_android.cc
@@ -1190,7 +1190,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 */,
- VideoFrame::ReadPixelsCB(), false /* allow overlay */);
+ false /* allow overlay */);
SetCurrentFrameInternal(new_frame);
}
@@ -1226,7 +1226,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(), VideoFrame::ReadPixelsCB(), false);
+ base::TimeDelta(), false);
SetCurrentFrameInternal(new_frame);
}
}

Powered by Google App Engine
This is Rietveld 408576698