Index: media/base/demuxer.h |
diff --git a/media/base/demuxer.h b/media/base/demuxer.h |
index 044df3d970584afa807cfbae63f465bea8a97ce4..3647a9d54505106fb160ed5061cdbd7433b133b7 100644 |
--- a/media/base/demuxer.h |
+++ b/media/base/demuxer.h |
@@ -45,6 +45,12 @@ class MEDIA_EXPORT Demuxer |
// to be released before the host object is destroyed by the pipeline. |
virtual void set_host(DemuxerHost* host); |
+ // Completes initialization of the demuxer. |
+ // |
+ // TODO(scherkus): pass in DemuxerHost here instead of using set_host(), |
+ // see http://crbug.com/111585 |
+ virtual void Initialize(const PipelineStatusCB& status_cb) = 0; |
+ |
// The pipeline playback rate has been changed. Demuxers may implement this |
// method if they need to respond to this call. |
virtual void SetPlaybackRate(float playback_rate); |
@@ -76,6 +82,8 @@ class MEDIA_EXPORT Demuxer |
// Returns true if the source is from a local file or stream (such as a |
// webcam stream), false otherwise. |
+ // |
+ // TODO(scherkus): See http://crbug.com/120426 on why we should remove this. |
virtual bool IsLocalSource() = 0; |
// Returns true if seeking is possible; false otherwise. |