Index: media/mojo/interfaces/media_types.mojom |
diff --git a/media/mojo/interfaces/media_types.mojom b/media/mojo/interfaces/media_types.mojom |
index 2c8a39c21c170cfc2570eafb9424121c1c8f12b3..ddea631f9188c79f66cc9688a06c2d76cf26b52e 100644 |
--- a/media/mojo/interfaces/media_types.mojom |
+++ b/media/mojo/interfaces/media_types.mojom |
@@ -13,6 +13,14 @@ enum BufferingState { |
HAVE_ENOUGH, |
}; |
+// See media/base/decode_status.h for descriptions. |
+// Kept in sync with media::DecodeStatus via static_asserts. |
+enum DecodeStatus { |
+ OK, |
+ ABORTED, |
+ DECODE_ERROR, |
+}; |
+ |
// See media/base/audio_decoder_config.h for descriptions. |
// Kept in sync with media::AudioCodec via static_asserts. |
enum AudioCodec { |
@@ -256,7 +264,6 @@ struct DecoderBuffer { |
// This is backed by an std::vector and results in a few copies. |
// Into the vector, onto and off the MessagePipe, back into a vector. |
array<uint8>? side_data; |
- uint32 side_data_size; |
// DecryptConfig for a encrypted buffer. NULL if the buffer is not encrypted. |
DecryptConfig? decrypt_config; |