Fix test for external codec.

Review URL: http://webrtc-codereview.appspot.com/328007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1231 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mflodman@webrtc.org 2011-12-19 12:29:56 +00:00
parent 86a9f9b946
commit 7752d11056
2 changed files with 8 additions and 0 deletions

View File

@ -48,6 +48,9 @@ public:
virtual WebRtc_Word32 Reset(); virtual WebRtc_Word32 Reset();
virtual WebRtc_Word32 SetChannelParameters(WebRtc_UWord32 packetLoss,
int rtt);
virtual WebRtc_Word32 SetPacketLoss(WebRtc_UWord32 packetLoss); virtual WebRtc_Word32 SetPacketLoss(WebRtc_UWord32 packetLoss);
virtual WebRtc_Word32 SetRates(WebRtc_UWord32 newBitRate, virtual WebRtc_Word32 SetRates(WebRtc_UWord32 newBitRate,

View File

@ -79,6 +79,11 @@ WebRtc_Word32 TbI420Encoder::Reset()
} }
WebRtc_Word32 TbI420Encoder::SetChannelParameters(WebRtc_UWord32 packetLoss,
int rtt) {
return 0;
}
WebRtc_Word32 TbI420Encoder::InitEncode(const webrtc::VideoCodec* inst, WebRtc_Word32 TbI420Encoder::InitEncode(const webrtc::VideoCodec* inst,
WebRtc_Word32 /*numberOfCores*/, WebRtc_Word32 /*numberOfCores*/,
WebRtc_UWord32 /*maxPayloadSize */) WebRtc_UWord32 /*maxPayloadSize */)