Commit e6abe07b authored by Robert O'Callahan's avatar Robert O'Callahan
Browse files

Bug 513144. Allow nsMediaCache blocks to be owned by multiple streams at the same time. r=doublec

--HG--
extra : rebase_source : 8788764ff6c883d2da5347ead39660626deb9d7c
parent 93031ccc
Loading
Loading
Loading
Loading
+244 −184

File changed.

Preview size limit exceeded, changes collapsed.

+4 −0
Original line number Diff line number Diff line
@@ -436,6 +436,10 @@ private:
  // block is the earliest in the stream (so the last block will be the
  // least valuable).
  BlockList         mReadaheadBlocks;
  // The list of metadata blocks; the first block is the most recently used
  BlockList         mMetadataBlocks;
  // The list of played-back blocks; the first block is the most recently used
  BlockList         mPlayedBlocks;
  // The last reported estimate of the decoder's playback rate
  PRUint32          mPlaybackBytesPerSecond;
  // The number of times this stream has been Pinned without a