bug 1123492 update comment to describe the thread that runs AttemptSeek() r=mattwoodrow
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 17 Feb 2015 13:58:55 +1300
changeset 246917 3fa2c597f2876bd85eee8717a8b5f09250f0309e
parent 246916 1f48676c718889b31117532849869ac0b2b7bb08
child 246918 5065a5f34d356910eddc5cc12d072483c81c7131
push id884
push userdburns@mozilla.com
push dateTue, 03 Mar 2015 15:29:12 +0000
reviewersmattwoodrow
bugs1123492
milestone39.0a1
bug 1123492 update comment to describe the thread that runs AttemptSeek() r=mattwoodrow
dom/media/mediasource/MediaSourceReader.cpp
--- a/dom/media/mediasource/MediaSourceReader.cpp
+++ b/dom/media/mediasource/MediaSourceReader.cpp
@@ -714,17 +714,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 */)