adding a wait on the decode thread when no frames are available
Review URL: http://webrtc-codereview.appspot.com/246009 git-svn-id: http://webrtc.googlecode.com/svn/trunk@807 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -1071,7 +1071,9 @@ VideoCodingModuleImpl::Decode(WebRtc_UWord16 maxWaitTimeMs)
|
||||
}
|
||||
}
|
||||
|
||||
if (frame != NULL)
|
||||
if (frame == NULL)
|
||||
return VCM_FRAME_NOT_READY;
|
||||
else
|
||||
{
|
||||
CriticalSectionScoped cs(_receiveCritSect);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user