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 249135 fd31f4d56ee2b58bb18f0fafd4a5bc6d9912fdbc
parent 249134 73495389c7d6651a93de41ea04104fe997be9ef2
child 249136 ad9c778e7bb89756855d2cadc9364f79dce8110d
push id970
push userjryans@gmail.com
push dateTue, 10 Mar 2015 15:54:18 +0000
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 */)