Revert 3892 "VCM/JB: Using last decoded state for waiting for key"
> VCM/JB: Using last decoded state for waiting for key > > Review URL: https://webrtc-codereview.appspot.com/1323006 Although I have no idea why, it appears this might be causing failures in ViEStandardIntegrationTest.RunsFileTestWithoutErrors. I was unable to reproduce locally. This is a trial revert to verify. If the errors continue to happen, I will restore this change. TBR=mikhal@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1321010 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3896 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -149,11 +149,8 @@ bool VCMDecodingState::ContinuousFrame(const VCMFrameBuffer* frame) const {
|
||||
// Return true when in initial state.
|
||||
// Note that when a method is not applicable it will return false.
|
||||
assert(frame != NULL);
|
||||
if (in_initial_state_) {
|
||||
// Always start with a key frame.
|
||||
if (frame->FrameType() == kVideoFrameKey) return true;
|
||||
return false;
|
||||
}
|
||||
if (in_initial_state_)
|
||||
return true;
|
||||
|
||||
if (!ContinuousLayer(frame->TemporalId(), frame->Tl0PicId())) {
|
||||
// Base layers are not continuous or temporal layers are inactive.
|
||||
|
||||
Reference in New Issue
Block a user