Bug 881512 - Temp fix: don't call mParentDecoder functions while SBD runs off decode thread. Revert when SBD runs on state machine's task queue. r=cajbir
authorMatthew Gregan <kinetik@flim.org>
Tue, 22 Apr 2014 01:32:00 +1200
changeset 180742 5ea033583b20024305a1c85cbb642f12be593963
parent 180741 a14f9763bf8f8a0ccd0320149514696c1c43197e
child 180743 c116a4499d82d2fd95ef6a0544cc2a1ecb456714
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewerscajbir
bugs881512
milestone31.0a1
Bug 881512 - Temp fix: don't call mParentDecoder functions while SBD runs off decode thread. Revert when SBD runs on state machine's task queue. r=cajbir
content/media/mediasource/SourceBuffer.cpp
--- a/content/media/mediasource/SourceBuffer.cpp
+++ b/content/media/mediasource/SourceBuffer.cpp
@@ -70,29 +70,29 @@ void
 SubBufferDecoder::SetMediaDuration(int64_t aDuration)
 {
   mMediaDuration = aDuration;
 }
 
 void
 SubBufferDecoder::UpdateEstimatedMediaDuration(int64_t aDuration)
 {
-  mParentDecoder->UpdateEstimatedMediaDuration(aDuration);
+  //mParentDecoder->UpdateEstimatedMediaDuration(aDuration);
 }
 
 void
 SubBufferDecoder::SetMediaSeekable(bool aMediaSeekable)
 {
-  mParentDecoder->SetMediaSeekable(aMediaSeekable);
+  //mParentDecoder->SetMediaSeekable(aMediaSeekable);
 }
 
 void
 SubBufferDecoder::SetTransportSeekable(bool aTransportSeekable)
 {
-  mParentDecoder->SetTransportSeekable(aTransportSeekable);
+  //mParentDecoder->SetTransportSeekable(aTransportSeekable);
 }
 
 layers::ImageContainer*
 SubBufferDecoder::GetImageContainer()
 {
   return mParentDecoder->GetImageContainer();
 }