Fixes two bugs related to padding in the jitter buffer.

- Pad packets (empty) were often NACKed even though they were received.
- Padding only frames (empty) didn't properly update the decoding state,
  and would therefore be NACKed even though they were received.

TEST=trybots

BUG=1150

Review URL: https://webrtc-codereview.appspot.com/966026

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3181 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
stefan@webrtc.org
2012-11-28 16:40:28 +00:00
parent 0f8286fd75
commit d42e51ce7c
8 changed files with 213 additions and 33 deletions

View File

@ -12,7 +12,8 @@
#define WEBRTC_MODULES_VIDEO_CODING_MAIN_INTERFACE_MOCK_MOCK_VCM_CALLBACKS_H_
#include "gmock/gmock.h"
#include "typedefs.h"
#include "webrtc/modules/video_coding/main/interface/video_coding_defines.h"
#include "webrtc/typedefs.h"
namespace webrtc {