removing redundant calls to cleanframes
Review URL: https://webrtc-codereview.appspot.com/1318004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3844 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -512,8 +512,6 @@ VCMEncodedFrame* VCMJitterBuffer::GetCompleteFrameForDecoding(
|
||||
|
||||
oldest_frame->SetState(kStateDecoding);
|
||||
|
||||
CleanUpOldOrEmptyFrames();
|
||||
|
||||
if (oldest_frame->FrameType() == kVideoFrameKey) {
|
||||
waiting_for_key_frame_ = false;
|
||||
}
|
||||
@ -583,8 +581,6 @@ VCMEncodedFrame* VCMJitterBuffer::GetFrameForDecoding() {
|
||||
// Set as decoding. Propagates the missing_frame bit.
|
||||
oldest_frame->SetState(kStateDecoding);
|
||||
|
||||
CleanUpOldOrEmptyFrames();
|
||||
|
||||
if (oldest_frame->FrameType() == kVideoFrameKey) {
|
||||
waiting_for_key_frame_ = false;
|
||||
}
|
||||
@ -1029,9 +1025,6 @@ VCMEncodedFrame* VCMJitterBuffer::GetFrameForDecodingNACK() {
|
||||
// decoder.
|
||||
oldest_frame->SetState(kStateDecoding);
|
||||
|
||||
// Clean up old frames and empty frames.
|
||||
CleanUpOldOrEmptyFrames();
|
||||
|
||||
if (oldest_frame->FrameType() == kVideoFrameKey) {
|
||||
waiting_for_key_frame_ = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user