Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1343)

Unified Diff: media/mojo/interfaces/media_types.mojom

Issue 1899363002: Finish plumbing MojoVideoDecoder. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698