| Index: media/mojo/interfaces/decryptor.mojom
|
| diff --git a/media/mojo/interfaces/decryptor.mojom b/media/mojo/interfaces/decryptor.mojom
|
| index 39d94a3220d38240205f438a08f1098488ffacbc..9c5d6784251403bf61b78be90072589e4e8a5086 100644
|
| --- a/media/mojo/interfaces/decryptor.mojom
|
| +++ b/media/mojo/interfaces/decryptor.mojom
|
| @@ -26,8 +26,8 @@ interface Decryptor {
|
| // Decrypts the |encrypted| buffer and returns the decrypt |status| and
|
| // decrypted |buffer|.
|
| // At most one decrypt call is allowed at any time for a |stream_type|.
|
| - Decrypt(DemuxerStream.Type stream_type, MediaDecoderBuffer encrypted)
|
| - => (Status status, MediaDecoderBuffer? buffer);
|
| + Decrypt(DemuxerStream.Type stream_type, DecoderBuffer encrypted)
|
| + => (Status status, DecoderBuffer? buffer);
|
|
|
| // Cancels any pending decrypt for |stream_type| with SUCCESS.
|
| CancelDecrypt(DemuxerStream.Type stream_type);
|
| @@ -45,10 +45,10 @@ interface Decryptor {
|
| // been successfully initialized.
|
| // At most one decrypt-and-decode call is allowed at any time for a
|
| // |stream_type|.
|
| - DecryptAndDecodeAudio(MediaDecoderBuffer encrypted)
|
| + DecryptAndDecodeAudio(DecoderBuffer encrypted)
|
| => (Status status, array<AudioBuffer>? audio_buffers);
|
| DecryptAndDecodeVideo(
|
| - MediaDecoderBuffer encrypted) => (Status status, VideoFrame? video_frame);
|
| + DecoderBuffer encrypted) => (Status status, VideoFrame? video_frame);
|
|
|
| // Resets the decoder for |stream_type| to a clean initialized state and
|
| // cancels any pending decrypt-and-decode operations immediately with ERROR.
|
|
|