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

Side by Side 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: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import "media/mojo/interfaces/media_types.mojom" 5 import "media/mojo/interfaces/media_types.mojom"
6 6
7 module mojo { 7 module mojo {
8 8
9 // DemuxerStream is modeled after media::DemuxerStream using mojo in order to 9 // DemuxerStream is modeled after media::DemuxerStream using mojo in order to
10 // enable proxying between a media::Pipeline and media::Renderer living in two 10 // enable proxying between a media::Pipeline and media::Renderer living in two
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // [ |DemuxerStream::Status| |MediaDecoderBuffer| ] 42 // [ |DemuxerStream::Status| |MediaDecoderBuffer| ]
43 // 43 //
44 // payloads from the DataPipe directly. If |pipe| is NULL, it means the 44 // payloads from the DataPipe directly. If |pipe| is NULL, it means the
45 // client needs to use DemuxerStream::Read() directly to obtain buffers. 45 // client needs to use DemuxerStream::Read() directly to obtain buffers.
46 OnStreamReady(handle<data_pipe_consumer>? pipe); 46 OnStreamReady(handle<data_pipe_consumer>? pipe);
47 47
48 // A new AudioDecoderConfig is available. Will be sent by the DemuxerStream 48 // A new AudioDecoderConfig is available. Will be sent by the DemuxerStream
49 // whenever a DemuxerStream::STATUS_CONFIG_CHANGED is observed (either 49 // whenever a DemuxerStream::STATUS_CONFIG_CHANGED is observed (either
50 // in a Read() callback or over the DataPipe). 50 // in a Read() callback or over the DataPipe).
51 OnAudioDecoderConfigChanged(AudioDecoderConfig config); 51 OnAudioDecoderConfigChanged(AudioDecoderConfig config);
52
53 // A new AudioDecoderConfig is available. Will be sent by the DemuxerStream
xhwang 2014/10/29 00:22:13 s/Audio/Video
DaleCurtis 2014/10/30 23:16:56 Done.
54 // whenever a DemuxerStream::STATUS_CONFIG_CHANGED is observed (either
55 // in a Read() callback or over the DataPipe).
56 OnVideoDecoderConfigChanged(VideoDecoderConfig config);
52 }; 57 };
53 58
54 } // module mojo 59 } // module mojo
OLDNEW
« no previous file with comments | « no previous file | media/mojo/interfaces/media_types.mojom » ('j') | media/mojo/interfaces/media_types.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698