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

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

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
« no previous file with comments | « no previous file | content/common/gpu/media/android_copying_backing_strategy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/android_copying_backing_strategy.h
diff --git a/content/common/gpu/media/android_copying_backing_strategy.h b/content/common/gpu/media/android_copying_backing_strategy.h
index 8980404dfdb48283fb300311065516ab4f25eed6..01f0205415408dfe71b4a6a7080ddf6a15dfcadd 100644
--- a/content/common/gpu/media/android_copying_backing_strategy.h
+++ b/content/common/gpu/media/android_copying_backing_strategy.h
@@ -33,16 +33,16 @@ class CONTENT_EXPORT AndroidCopyingBackingStrategy
// AndroidVideoDecodeAccelerator::BackingStrategy
gfx::ScopedJavaSurface Initialize(int surface_view_id) override;
- void Cleanup(bool have_context,
- const AndroidVideoDecodeAccelerator::OutputBufferMap&) override;
+ void Cleanup(
+ bool have_context,
+ const AndroidVideoDecodeAccelerator::OutputBufferMap& buffers) override;
scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture() const override;
uint32_t GetTextureTarget() const override;
gfx::Size GetPictureBufferSize() const override;
- void UseCodecBufferForPictureBuffer(int32_t codec_buffer_index,
- const media::PictureBuffer&) override;
- void CodecChanged(
- media::VideoCodecBridge*,
- const AndroidVideoDecodeAccelerator::OutputBufferMap&) override;
+ void UseCodecBufferForPictureBuffer(
+ int32_t codec_buffer_index,
+ const media::PictureBuffer& picture_buffer) override;
+ void CodecChanged(media::VideoCodecBridge* codec) override;
void OnFrameAvailable() override;
bool ArePicturesOverlayable() override;
void UpdatePictureBufferSize(media::PictureBuffer* picture_buffer,
« no previous file with comments | « no previous file | content/common/gpu/media/android_copying_backing_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698