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

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

Issue 1910063005: Store AVDACodecImage list in shared state, cleanup callers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. 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 6bbe4dbd1deb5bc4b34185799df2e8068da7690e..9e0d8ab9546e02b2818074abe01c6e3af95fb9c9 100644
--- a/content/common/gpu/media/android_video_decode_accelerator.h
+++ b/content/common/gpu/media/android_video_decode_accelerator.h
@@ -90,10 +90,7 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator
// 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.
- // For convenience, a container of PictureBuffers is provided in case
- // per-image cleanup is needed.
- virtual void CodecChanged(media::VideoCodecBridge* codec,
- const OutputBufferMap& buffer_map) = 0;
+ virtual void CodecChanged(media::VideoCodecBridge* codec) = 0;
// Notify the strategy that a frame is available. This callback can happen
// on any thread at any time.

Powered by Google App Engine
This is Rietveld 408576698