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

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

Issue 1845673002: Removing `preference` field from `cricket::Codec`. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Adding back a unit test. Created 4 years, 8 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
Index: webrtc/media/base/fakemediaengine.h
diff --git a/webrtc/media/base/fakemediaengine.h b/webrtc/media/base/fakemediaengine.h
index 6feaf8e989f7e3e1569cfb060c816a6d651ba309..21a49b6cb0ef428d78573f147a7d87f835cdc252 100644
--- a/webrtc/media/base/fakemediaengine.h
+++ b/webrtc/media/base/fakemediaengine.h
@@ -700,7 +700,7 @@ class FakeVoiceEngine : public FakeBaseEngine {
: output_volume_(-1) {
// Add a fake audio codec. Note that the name must not be "" as there are
// sanity checks against that.
- codecs_.push_back(AudioCodec(101, "fake_audio_codec", 0, 0, 1, 0));
+ codecs_.push_back(AudioCodec(101, "fake_audio_codec", 0, 0, 1));
}
bool Init(rtc::Thread* worker_thread) { return true; }
void Terminate() {}
@@ -763,7 +763,7 @@ class FakeVideoEngine : public FakeBaseEngine {
FakeVideoEngine() : capture_(false) {
// Add a fake video codec. Note that the name must not be "" as there are
// sanity checks against that.
- codecs_.push_back(VideoCodec(0, "fake_video_codec", 0, 0, 0, 0));
+ codecs_.push_back(VideoCodec(0, "fake_video_codec", 0, 0, 0));
}
void Init() {}
bool SetOptions(const VideoOptions& options) {

Powered by Google App Engine
This is Rietveld 408576698