Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 module media.interfaces; | 5 module media.interfaces; |
| 6 | 6 |
| 7 import "media/mojo/interfaces/media_types.mojom"; | 7 import "media/mojo/interfaces/media_types.mojom"; |
| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 46 // - If |status| is CONFIG_CHANGED, the config for the stream type should be | 46 // - If |status| is CONFIG_CHANGED, the config for the stream type should be |
| 47 // non-null. | 47 // non-null. |
| 48 // | 48 // |
| 49 // TODO(dalecurtis): Remove this method in favor of serializing everything | 49 // TODO(dalecurtis): Remove this method in favor of serializing everything |
| 50 // into the DataPipe given to Initialize() once DataPipe supports framed data | 50 // into the DataPipe given to Initialize() once DataPipe supports framed data |
| 51 // in a nicer fashion. | 51 // in a nicer fashion. |
| 52 Read() => (Status status, | 52 Read() => (Status status, |
| 53 DecoderBuffer? buffer, | 53 DecoderBuffer? buffer, |
| 54 AudioDecoderConfig? audio_config, | 54 AudioDecoderConfig? audio_config, |
| 55 VideoDecoderConfig? video_config); | 55 VideoDecoderConfig? video_config); |
| 56 | |
| 57 EnableBitstreamConverter(); | |
|
xhwang
2016/03/08 01:36:46
Could you please add a comment.
alokp
2016/03/08 05:22:42
I wanted to copy the comment from media::DemuxerSt
xhwang
2016/03/08 06:34:27
Fair enough :) How about:
Enables converting bits
| |
| 56 }; | 58 }; |
| OLD | NEW |