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

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

Issue 684963003: Add support for external video renderers in mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo_config
Patch Set: More MSVC... Created 6 years, 1 month 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
« no previous file with comments | « media/mojo/interfaces/BUILD.gn ('k') | media/mojo/interfaces/media_renderer.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/demuxer_stream.mojom
diff --git a/media/mojo/interfaces/demuxer_stream.mojom b/media/mojo/interfaces/demuxer_stream.mojom
index a43f9d8ecac7818d5e0881f52b92cdc85eeef548..3024942ff29eb288feab44f28ba81924c3d49fa0 100644
--- a/media/mojo/interfaces/demuxer_stream.mojom
+++ b/media/mojo/interfaces/demuxer_stream.mojom
@@ -15,7 +15,8 @@ interface DemuxerStream {
enum Type {
UNKNOWN,
AUDIO,
- LAST_TYPE = AUDIO
+ VIDEO,
+ LAST_TYPE = VIDEO,
};
// See media::DemuxerStream for descriptions.
@@ -49,4 +50,9 @@ interface DemuxerStreamClient {
// whenever a DemuxerStream::STATUS_CONFIG_CHANGED is observed (either
// in a Read() callback or over the DataPipe).
OnAudioDecoderConfigChanged(AudioDecoderConfig config);
+
+ // A new VideoDecoderConfig is available. Will be sent by the DemuxerStream
+ // whenever a DemuxerStream::STATUS_CONFIG_CHANGED is observed (either
+ // in a Read() callback or over the DataPipe).
+ OnVideoDecoderConfigChanged(VideoDecoderConfig config);
};
« no previous file with comments | « media/mojo/interfaces/BUILD.gn ('k') | media/mojo/interfaces/media_renderer.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698