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

Unified Diff: content/common/gpu/media/android_copying_backing_strategy.cc

Issue 1963773003: Merge to M51: Various fixes to prevent playback hang on MotoX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 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/common/gpu/media/android_copying_backing_strategy.cc
diff --git a/content/common/gpu/media/android_copying_backing_strategy.cc b/content/common/gpu/media/android_copying_backing_strategy.cc
index b5216154829559901301d8d3bc9fe32d7c575e8c..b09133454ec115085d44875965225aa405be3c8d 100644
--- a/content/common/gpu/media/android_copying_backing_strategy.cc
+++ b/content/common/gpu/media/android_copying_backing_strategy.cc
@@ -56,7 +56,7 @@ gfx::ScopedJavaSurface AndroidCopyingBackingStrategy::Initialize(
void AndroidCopyingBackingStrategy::Cleanup(
bool have_context,
- const AndroidVideoDecodeAccelerator::OutputBufferMap&) {
+ const AndroidVideoDecodeAccelerator::OutputBufferMap& buffers) {
DCHECK(state_provider_->ThreadChecker().CalledOnValidThread());
if (copier_)
@@ -144,8 +144,7 @@ void AndroidCopyingBackingStrategy::UseCodecBufferForPictureBuffer(
}
void AndroidCopyingBackingStrategy::CodecChanged(
- media::VideoCodecBridge* codec,
- const AndroidVideoDecodeAccelerator::OutputBufferMap&) {
+ media::VideoCodecBridge* codec) {
media_codec_ = codec;
}

Powered by Google App Engine
This is Rietveld 408576698