diff options
Diffstat (limited to 'chromium/media/mojo/interfaces/decryptor.mojom')
-rw-r--r-- | chromium/media/mojo/interfaces/decryptor.mojom | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chromium/media/mojo/interfaces/decryptor.mojom b/chromium/media/mojo/interfaces/decryptor.mojom index 55091e4671c..9c5d6784251 100644 --- a/chromium/media/mojo/interfaces/decryptor.mojom +++ b/chromium/media/mojo/interfaces/decryptor.mojom @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -module mojo; +module media.interfaces; import "media/mojo/interfaces/demuxer_stream.mojom"; import "media/mojo/interfaces/media_types.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. |