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

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

Issue 1892013002: ReleaseOutputBuffer to surface back and front buffers where possible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup. Created 4 years, 8 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_video_decode_accelerator.h
diff --git a/content/common/gpu/media/android_video_decode_accelerator.h b/content/common/gpu/media/android_video_decode_accelerator.h
index 9e0d8ab9546e02b2818074abe01c6e3af95fb9c9..af2f7b70c05f26efafa2a1fb6bb1dfb79661b39e 100644
--- a/content/common/gpu/media/android_video_decode_accelerator.h
+++ b/content/common/gpu/media/android_video_decode_accelerator.h
@@ -87,6 +87,9 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
virtual void ReuseOnePictureBuffer(
const media::PictureBuffer& picture_buffer) {}
+ // Attempts to free up codec output buffers by rendering early.
+ virtual void MaybeRenderEarly() {}
+
// Notify strategy that we have a new android MediaCodec instance. This
// happens when we're starting up or re-configuring mid-stream. Any
// previously provided codec should no longer be referenced.

Powered by Google App Engine
This is Rietveld 408576698