Change to r315: code to return error for
incomplete frames (for _feedbackMode off) is commented out. Review URL: http://webrtc-codereview.appspot.com/91016 git-svn-id: http://webrtc.googlecode.com/svn/trunk@316 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
79835d1bd3
commit
7bb8a9444d
@ -714,6 +714,16 @@ VP8Decoder::Decode(const EncodedImage& inputImage,
|
||||
{
|
||||
return WEBRTC_VIDEO_CODEC_ERR_PARAMETER;
|
||||
}
|
||||
if (inputImage._completeFrame == false)
|
||||
{
|
||||
// future improvement
|
||||
// we can't decode this frame
|
||||
if (_feedbackModeOn)
|
||||
{
|
||||
return WEBRTC_VIDEO_CODEC_ERR_REQUEST_SLI;
|
||||
}
|
||||
// otherwise allow for incomplete frames to be decoded.
|
||||
}
|
||||
|
||||
vpx_dec_iter_t _iter = NULL;
|
||||
vpx_image_t* img;
|
||||
|
Loading…
Reference in New Issue
Block a user