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..a98fb9cf15e0b01ab9fe59c2b8e0f168708dfec0 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(); |
+ // Internal version of Decode(), which allows -1 as the id of the |
+ // |bitstream_buffer| to indicate the trigger of flush command. |
+ void DecodeInternal(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); |