Don't force cont' when enabling kWithErrors
BUG= R=pbos@webrtc.org, stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2047004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4669 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -86,7 +86,7 @@ VCMFrameBuffer::InsertPacket(const VCMPacket& packet,
|
||||
int64_t timeInMs,
|
||||
VCMDecodeErrorMode decode_error_mode,
|
||||
const FrameData& frame_data) {
|
||||
// is this packet part of this frame
|
||||
// Is this packet part of this frame?
|
||||
if (TimeStamp() && (TimeStamp() != packet.timestamp)) {
|
||||
return kTimeStampError;
|
||||
}
|
||||
@ -209,14 +209,6 @@ VCMFrameBuffer::Reset() {
|
||||
VCMEncodedFrame::Reset();
|
||||
}
|
||||
|
||||
void
|
||||
VCMFrameBuffer::SetNotDecodableIfIncomplete() {
|
||||
if (_state == kStateDecodable) {
|
||||
_state = kStateIncomplete;
|
||||
_sessionInfo.SetNotDecodableIfIncomplete();
|
||||
}
|
||||
}
|
||||
|
||||
// Set state of frame
|
||||
void
|
||||
VCMFrameBuffer::SetState(VCMFrameBufferStateEnum state) {
|
||||
|
Reference in New Issue
Block a user