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

Unified Diff: webrtc/config.cc

Issue 2067103002: Avoid unnecessary HW video encoder reconfiguration (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Code review feedback Created 4 years, 6 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/config.cc
diff --git a/webrtc/config.cc b/webrtc/config.cc
index 99146eba236f8dad677f83f982cb5db43ef6620e..02ac5deba0155e27bcf13090ef786b238f0a005e 100644
--- a/webrtc/config.cc
+++ b/webrtc/config.cc
@@ -107,8 +107,8 @@ std::string VideoStream::ToString() const {
VideoEncoderConfig::VideoEncoderConfig()
: content_type(ContentType::kRealtimeVideo),
encoder_specific_settings(NULL),
- min_transmit_bitrate_bps(0) {
-}
+ min_transmit_bitrate_bps(0),
+ encode_from_texture(false) {}
VideoEncoderConfig::~VideoEncoderConfig() = default;

Powered by Google App Engine
This is Rietveld 408576698