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

Side by Side Diff: webrtc/config.cc

Issue 1351693005: Read the number of TLs for VP9 too + cleanup (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase master and reordering of params Created 5 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 #include "webrtc/config.h" 10 #include "webrtc/config.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 ss << ']'; 81 ss << ']';
82 82
83 ss << '}'; 83 ss << '}';
84 return ss.str(); 84 return ss.str();
85 } 85 }
86 86
87 VideoEncoderConfig::VideoEncoderConfig() 87 VideoEncoderConfig::VideoEncoderConfig()
88 : content_type(ContentType::kRealtimeVideo), 88 : content_type(ContentType::kRealtimeVideo),
89 encoder_specific_settings(NULL), 89 encoder_specific_settings(NULL),
90 min_transmit_bitrate_bps(0) { 90 min_transmit_bitrate_bps(0) {
91 test.force_disable_wrapper_frame_dropper = false;
91 } 92 }
92 93
93 VideoEncoderConfig::~VideoEncoderConfig() = default; 94 VideoEncoderConfig::~VideoEncoderConfig() = default;
94 95
95 std::string VideoEncoderConfig::ToString() const { 96 std::string VideoEncoderConfig::ToString() const {
96 std::stringstream ss; 97 std::stringstream ss;
97 98
98 ss << "{streams: ["; 99 ss << "{streams: [";
99 for (size_t i = 0; i < streams.size(); ++i) { 100 for (size_t i = 0; i < streams.size(); ++i) {
100 ss << streams[i].ToString(); 101 ss << streams[i].ToString();
(...skipping 12 matching lines...) Expand all
113 } 114 }
114 ss << ", encoder_specific_settings: "; 115 ss << ", encoder_specific_settings: ";
115 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); 116 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL");
116 117
117 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; 118 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps;
118 ss << '}'; 119 ss << '}';
119 return ss.str(); 120 return ss.str();
120 } 121 }
121 122
122 } // namespace webrtc 123 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698