Bug 1123492 - Update comment to describe the thread that runs AttemptSeek(). r=mattwoodrow, a=abillings
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 17 Feb 2015 13:58:55 +1300
changeset 250260 fd31f4d56ee2
parent 250259 73495389c7d6
child 250261 ad9c778e7bb8
push id4527
push userryanvm@gmail.com
push date2015-03-05 16:09 +0000
treeherdermozilla-beta@00bad6e2ffbc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow, abillings
bugs1123492
milestone37.0
Bug 1123492 - Update comment to describe the thread that runs AttemptSeek(). r=mattwoodrow, a=abillings
dom/media/mediasource/MediaSourceReader.cpp
--- a/dom/media/mediasource/MediaSourceReader.cpp
+++ b/dom/media/mediasource/MediaSourceReader.cpp
@@ -706,17 +706,17 @@ MediaSourceReader::TrackBuffersContainTi
   return true;
 }
 
 void
 MediaSourceReader::NotifyTimeRangesChanged()
 {
   ReentrantMonitorAutoEnter mon(mDecoder->GetReentrantMonitor());
   if (mWaitingForSeekData) {
-    //post a task to the state machine thread to call seek.
+    //post a task to the decode queue to try to complete the pending seek.
     RefPtr<nsIRunnable> task(NS_NewRunnableMethod(
         this, &MediaSourceReader::AttemptSeek));
     GetTaskQueue()->Dispatch(task.forget());
   }
 }
 
 nsRefPtr<MediaDecoderReader::SeekPromise>
 MediaSourceReader::Seek(int64_t aTime, int64_t aIgnored /* Used only for ogg which is non-MSE */)