Bug 1035758 - AudioOffloadPlayer: Fix seek bar reset when seek during pause. r=roc
authorVasanthakumar Pandurangan <vasanth@codeaurora.org>
Tue, 08 Jul 2014 04:37:11 -0700
changeset 214062 a8412692a3b599b415a112d77d47943d33056231
parent 214061 d980cd9e34825f984ca5357a34f37f4fb3de11fd
child 214063 d60a6ccda32a86cf3541ca40a2454695de74585b
push id3857
push userraliiev@mozilla.com
push dateTue, 02 Sep 2014 16:39:23 +0000
treeherdermozilla-beta@5638b907b505 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs1035758
milestone33.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1035758 - AudioOffloadPlayer: Fix seek bar reset when seek during pause. r=roc
content/media/MediaDecoder.h
--- a/content/media/MediaDecoder.h
+++ b/content/media/MediaDecoder.h
@@ -808,17 +808,17 @@ public:
 
   // Seeking has started. Inform the element on the main
   // thread.
   void SeekingStarted();
 
   // Called when the backend has changed the current playback
   // position. It dispatches a timeupdate event and invalidates the frame.
   // This must be called on the main thread only.
-  void PlaybackPositionChanged();
+  virtual void PlaybackPositionChanged();
 
   // Calls mElement->UpdateReadyStateForData, telling it whether we have
   // data for the next frame and if we're buffering. Main thread only.
   virtual void UpdateReadyStateForData();
 
   // Find the end of the cached data starting at the current decoder
   // position.
   int64_t GetDownloadPosition();