summaryrefslogtreecommitdiffstats
path: root/media/base/pipeline_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/base/pipeline_impl.h')
-rw-r--r--media/base/pipeline_impl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h
index 5dcbcea..7b5fe4a 100644
--- a/media/base/pipeline_impl.h
+++ b/media/base/pipeline_impl.h
@@ -330,6 +330,9 @@ class PipelineImpl : public Pipeline, public FilterHost {
// Whether or not an error triggered the teardown.
bool error_caused_teardown_;
+ // 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_;
@@ -372,6 +375,9 @@ class PipelineImpl : public Pipeline, public FilterHost {
// the filters.
float playback_rate_;
+ // Playback rate to set when the current seek has finished.
+ float pending_playback_rate_;
+
// Reference clock. Keeps track of current playback time. Uses system
// clock and linear interpolation, but can have its time manually set
// by filters.