Fixed bug in jitter buffer which caused the missingFrames bit to never be set.
Also updated the VP8 wrapper to return fully concealed frames (for rendering). BUG= TEST= Review URL: http://webrtc-codereview.appspot.com/190003 git-svn-id: http://webrtc.googlecode.com/svn/trunk@687 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -1115,7 +1115,6 @@ VCMJitterBuffer::GetFrameForDecoding()
|
||||
_waitingForCompletion.latestPacketTime =
|
||||
oldestFrame->LatestPacketTimeMs();
|
||||
_waitingForCompletion.timestamp = oldestFrame->TimeStamp();
|
||||
oldestFrame->SetState(kStateDecoding);
|
||||
}
|
||||
_frameBuffersTSOrder.Erase(oldestFrameListItem);
|
||||
oldestFrameListItem = NULL;
|
||||
@@ -1123,7 +1122,10 @@ VCMJitterBuffer::GetFrameForDecoding()
|
||||
CleanUpOldFrames();
|
||||
CleanUpSizeZeroFrames();
|
||||
|
||||
// Look for previous frame loss
|
||||
VerifyAndSetPreviousFrameLost(*oldestFrame);
|
||||
// Set as decoding. Propagates the missingFrame bit.
|
||||
oldestFrame->SetState(kStateDecoding);
|
||||
|
||||
// Store current seqnum & time
|
||||
_lastDecodedSeqNum = oldestFrame->GetHighSeqNum();
|
||||
|
||||
Reference in New Issue
Block a user