Index: media/base/pipeline_impl.h |
diff --git a/media/base/pipeline_impl.h b/media/base/pipeline_impl.h |
index 5dcbcea366bb4b0e6d840256172d926fa3216750..7b5fe4a6c2dbd3fde22fe730e1674a9ad0e306b5 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. |