Updating the frame buffer return value in InsertPacket: Return NoError when a packet is inserted to a frame which is being decoded.
Review URL: http://webrtc-codereview.appspot.com/330027 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1308 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
bed34a341a
commit
9eeafbef3c
@ -102,7 +102,7 @@ VCMFrameBuffer::InsertPacket(const VCMPacket& packet, WebRtc_Word64 timeInMs,
|
|||||||
if (_state == kStateDecoding)
|
if (_state == kStateDecoding)
|
||||||
{
|
{
|
||||||
// Do not insert packet
|
// Do not insert packet
|
||||||
return kIncomplete;
|
return kNoError;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sanity to check if the frame has been freed. (Too old for example)
|
// Sanity to check if the frame has been freed. (Too old for example)
|
||||||
|
Loading…
Reference in New Issue
Block a user