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

Side by Side Diff: webrtc/config.cc

Issue 2185953002: Add decoder-specific settings with proper lifetime. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 4 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/base/checks.h"
10 #include "webrtc/config.h" 11 #include "webrtc/config.h"
11 12
12 #include <sstream> 13 #include <sstream>
13 #include <string> 14 #include <string>
14 15
15 namespace webrtc { 16 namespace webrtc {
16 std::string NackConfig::ToString() const { 17 std::string NackConfig::ToString() const {
17 std::stringstream ss; 18 std::stringstream ss;
18 ss << "{rtp_history_ms: " << rtp_history_ms; 19 ss << "{rtp_history_ms: " << rtp_history_ms;
19 ss << '}'; 20 ss << '}';
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 } 141 }
141 ss << ", encoder_specific_settings: "; 142 ss << ", encoder_specific_settings: ";
142 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); 143 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL");
143 144
144 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; 145 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps;
145 ss << '}'; 146 ss << '}';
146 return ss.str(); 147 return ss.str();
147 } 148 }
148 149
149 } // namespace webrtc 150 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698