| Index: media/base/pipeline.h
|
| diff --git a/media/base/pipeline.h b/media/base/pipeline.h
|
| index b4c8d9fb7ef2ae22b985756c65a60ac6f1ec1f44..0a1cb81b4245524ff069faa288eb2fffb8231a80 100644
|
| --- a/media/base/pipeline.h
|
| +++ b/media/base/pipeline.h
|
| @@ -334,7 +334,6 @@ class MEDIA_EXPORT Pipeline
|
| virtual void SetError(PipelineStatus error) OVERRIDE;
|
| virtual base::TimeDelta GetTime() const OVERRIDE;
|
| virtual base::TimeDelta GetDuration() const OVERRIDE;
|
| - virtual void SetTime(base::TimeDelta time) OVERRIDE;
|
| virtual void SetNaturalVideoSize(const gfx::Size& size) OVERRIDE;
|
| virtual void NotifyEnded() OVERRIDE;
|
| virtual void DisableAudioRenderer() OVERRIDE;
|
| @@ -354,6 +353,12 @@ class MEDIA_EXPORT Pipeline
|
| // Callback executed by filters to update statistics.
|
| void OnUpdateStatistics(const PipelineStatistics& stats);
|
|
|
| + // Callback executed by audio renderer to update clock time.
|
| + void OnAudioTimeUpdate(base::TimeDelta time, base::TimeDelta max_time);
|
| +
|
| + // Callback executed by video renderer to update clock time.
|
| + void OnVideoTimeUpdate(base::TimeDelta max_time);
|
| +
|
| // The following "task" methods correspond to the public methods, but these
|
| // methods are run as the result of posting a task to the PipelineInternal's
|
| // message loop.
|
| @@ -504,9 +509,6 @@ class MEDIA_EXPORT Pipeline
|
| // Whether or not a playback rate change should be done once seeking is done.
|
| bool playback_rate_change_pending_;
|
|
|
| - // Duration of the media in microseconds. Set by filters.
|
| - base::TimeDelta duration_;
|
| -
|
| // Amount of available buffered data in microseconds. Set by filters.
|
| base::TimeDelta buffered_time_;
|
|
|
|
|