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

Unified Diff: webrtc/config.cc

Issue 2351633002: Let ViEEncoder handle resolution changes. (Closed)
Patch Set: rebased Created 4 years, 2 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/config.h ('k') | webrtc/media/base/fakevideocapturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/config.cc
diff --git a/webrtc/config.cc b/webrtc/config.cc
index 3761d66cc7484ac909f4619c34269c7013d9d797..7c1a0a8bc6ecbdb85198435065b1f3be2d6f2463 100644
--- a/webrtc/config.cc
+++ b/webrtc/config.cc
@@ -117,21 +117,14 @@ VideoEncoderConfig::VideoEncoderConfig()
: content_type(ContentType::kRealtimeVideo),
encoder_specific_settings(nullptr),
min_transmit_bitrate_bps(0),
- expect_encode_from_texture(false) {}
+ max_bitrate_bps(0),
+ number_of_streams(0) {}
VideoEncoderConfig::~VideoEncoderConfig() = default;
std::string VideoEncoderConfig::ToString() const {
std::stringstream ss;
-
- ss << "{streams: [";
- for (size_t i = 0; i < streams.size(); ++i) {
- ss << streams[i].ToString();
- if (i != streams.size() - 1)
- ss << ", ";
- }
- ss << ']';
- ss << ", content_type: ";
+ ss << "{content_type: ";
switch (content_type) {
case ContentType::kRealtimeVideo:
ss << "kRealtimeVideo";
« no previous file with comments | « webrtc/config.h ('k') | webrtc/media/base/fakevideocapturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698