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

Unified Diff: media/cast/cast_config.cc

Issue 228313002: Cast: Use 2 threads for encoding on capable systems (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: media/cast/cast_config.cc
diff --git a/media/cast/cast_config.cc b/media/cast/cast_config.cc
index 85231407ad4fa915b58e40c0206e85bcd9516acf..a0ea1635461b8051e76fa87aacaa7c7696c71543 100644
--- a/media/cast/cast_config.cc
+++ b/media/cast/cast_config.cc
@@ -19,7 +19,8 @@ VideoSenderConfig::VideoSenderConfig()
max_qp(kDefaultMaxQp),
min_qp(kDefaultMinQp),
max_frame_rate(kDefaultMaxFrameRate),
- max_number_of_video_buffers_used(kDefaultNumberOfVideoBuffers) {}
+ max_number_of_video_buffers_used(kDefaultNumberOfVideoBuffers),
+ number_of_encode_threads(1) {}
AudioSenderConfig::AudioSenderConfig()
: sender_ssrc(0),

Powered by Google App Engine
This is Rietveld 408576698