diff options
Diffstat (limited to 'media/base/pipeline_impl.h')
-rw-r--r-- | media/base/pipeline_impl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h index c448106..891404a 100644 --- a/media/base/pipeline_impl.h +++ b/media/base/pipeline_impl.h @@ -84,6 +84,7 @@ class PipelineImpl : public Pipeline, public FilterHost { virtual int64 GetTotalBytes() const; virtual void GetVideoSize(size_t* width_out, size_t* height_out) const; virtual bool IsStreaming() const; + virtual bool IsLoaded() const; virtual PipelineError GetError() const; // Sets a permanent callback owned by the pipeline that will be executed when @@ -143,6 +144,7 @@ class PipelineImpl : public Pipeline, public FilterHost { virtual void SetBufferedBytes(int64 buffered_bytes); virtual void SetVideoSize(size_t width, size_t height); virtual void SetStreaming(bool streamed); + virtual void SetLoaded(bool loaded); virtual void NotifyEnded(); virtual void BroadcastMessage(FilterMessage message); @@ -293,6 +295,10 @@ class PipelineImpl : public Pipeline, public FilterHost { // source. bool streaming_; + // Sets by the filters to indicate whether the data source is a fully + // loaded source. + bool loaded_; + // Current volume level (from 0.0f to 1.0f). This value is set immediately // via SetVolume() and a task is dispatched on the message loop to notify the // filters. |