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 e70c09ee0dd354692b7a7257b28dae76690b8f8c..cf263bb8dbd2383c2068fe2996b65fd37deea2ce 100644 |
--- a/content/common/gpu/media/android_video_decode_accelerator.h |
+++ b/content/common/gpu/media/android_video_decode_accelerator.h |
@@ -166,6 +166,10 @@ class CONTENT_EXPORT AndroidVideoDecodeAccelerator |
// Requests picture buffers from the client. |
void RequestPictureBuffers(); |
+ // Decode the content in the |bitstream_buffer|. Note that a |
+ // |bitstream_buffer| of id as -1 indicates a flush command. |
+ void DecodeBuffer(const media::BitstreamBuffer& bitstream_buffer); |
+ |
// This callback is called after CDM obtained a MediaCrypto object. |
void OnMediaCryptoReady(media::MediaDrmBridge::JavaObjectPtr media_crypto, |
bool needs_protected_surface); |