ExternalVideoDecoder for new VideoEngine API.

Implements the ExternalVideoDecoder interface for VideoReceiveStream.
Also adds a FakeDecoder used in tests, removing the overhead of running
the EngineTest tests with VP8 under Memcheck/TSan, allowing us to enable
them under Memcheck/TSan as well.

BUG=2346,2312
R=stefan@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4702 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
pbos@webrtc.org
2013-09-09 08:26:30 +00:00
parent 30e055c4dd
commit 0181b5f8dd
13 changed files with 203 additions and 41 deletions

View File

@ -68,8 +68,7 @@ class VideoSendStreamTest : public ::testing::Test {
VideoSendStream::Config config = call->GetDefaultSendConfig();
config.encoder = &fake_encoder_;
config.internal_source = false;
test::FakeEncoder::SetCodecStreamSettings(&config.codec, 1);
config.codec.plType = 100;
test::FakeEncoder::SetCodecSettings(&config.codec, 1);
return config;
}