Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: webrtc/media/base/videoengine_unittest.h

Issue 3008043002: Simplify passing video codec factories in media engine (Closed)
Patch Set: Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/media/base/mediaengine.h ('k') | webrtc/media/engine/nullwebrtcvideoengine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/videoengine_unittest.h
diff --git a/webrtc/media/base/videoengine_unittest.h b/webrtc/media/base/videoengine_unittest.h
index 77062ecf4910bd58834f9807eb5fc0808631201d..64fda56849a4998d3fa0b5b39401d6aac3b1bc64 100644
--- a/webrtc/media/base/videoengine_unittest.h
+++ b/webrtc/media/base/videoengine_unittest.h
@@ -64,7 +64,9 @@ class VideoMediaChannelTest : public testing::Test,
public sigslot::has_slots<> {
protected:
VideoMediaChannelTest<E, C>()
- : call_(webrtc::Call::Create(webrtc::Call::Config(&event_log_))) {}
+ : call_(webrtc::Call::Create(webrtc::Call::Config(&event_log_))),
+ engine_(nullptr /* external_encoder_factory */,
+ nullptr /* external_decoder_factory */) {}
virtual cricket::VideoCodec DefaultCodec() = 0;
@@ -73,7 +75,6 @@ class VideoMediaChannelTest : public testing::Test,
}
virtual void SetUp() {
- engine_.Init();
cricket::MediaConfig media_config;
// Disabling cpu overuse detection actually disables quality scaling too; it
// implies DegradationPreference kMaintainResolution. Automatic scaling
« no previous file with comments | « webrtc/media/base/mediaengine.h ('k') | webrtc/media/engine/nullwebrtcvideoengine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698