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

Side by Side Diff: media/mojo/interfaces/demuxer_stream.mojom

Issue 1935873002: Implement disabling and enabling media tracks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@track-control2
Patch Set: Updated comments + dchecks in ffmpeg demux stream Created 4 years, 6 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 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 module media.mojom; 5 module media.mojom;
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 56
57 // Enables converting bitstream to a format that is expected by the decoder. 57 // Enables converting bitstream to a format that is expected by the decoder.
58 // For example, H.264/AAC bitstream based packets into H.264 Annex B format. 58 // For example, H.264/AAC bitstream based packets into H.264 Annex B format.
59 EnableBitstreamConverter(); 59 EnableBitstreamConverter();
60
61 enabled() => (bool enabled);
62 set_enabled(bool enabled, int64 time_usec);
60 }; 63 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698