diff options
author | pbos@webrtc.org <pbos@webrtc.org> | 2014-11-06 09:35:08 +0000 |
---|---|---|
committer | pbos@webrtc.org <pbos@webrtc.org> | 2014-11-06 09:35:08 +0000 |
commit | 98dd0b827ba88221c3a0f2de6f00266bc8da7266 (patch) | |
tree | 652eaaa2df7fd74ebe9b3afc1aa6b678f7b1e9ac | |
parent | 3ebce78042e261e510a28ee4b2a64ea3148b6aa5 (diff) | |
download | webrtc-98dd0b827ba88221c3a0f2de6f00266bc8da7266.tar.gz |
Log formatting fix for VideoEncoderConfig.
R=mflodman@webrtc.org
BUG=
Review URL: https://webrtc-codereview.appspot.com/30889004
git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7648 4adac7df-926f-26a2-2b94-8c16560cd09d
-rw-r--r-- | config.cc | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -39,13 +39,13 @@ std::string VideoStream::ToString() const { ss << ", max_bitrate_bps:" << max_bitrate_bps; ss << ", max_qp: " << max_qp; - ss << ", temporal_layer_thresholds_bps: {"; + ss << ", temporal_layer_thresholds_bps: ["; for (size_t i = 0; i < temporal_layer_thresholds_bps.size(); ++i) { ss << temporal_layer_thresholds_bps[i]; if (i != temporal_layer_thresholds_bps.size() - 1) - ss << "}, {"; + ss << ", "; } - ss << '}'; + ss << ']'; ss << '}'; return ss.str(); @@ -54,13 +54,13 @@ std::string VideoStream::ToString() const { std::string VideoEncoderConfig::ToString() const { std::stringstream ss; - ss << "{streams: {"; + ss << "{streams: ["; for (size_t i = 0; i < streams.size(); ++i) { ss << streams[i].ToString(); if (i != streams.size() - 1) - ss << "}, {"; + ss << ", "; } - ss << '}'; + ss << ']'; ss << ", content_type: "; switch (content_type) { case kRealtimeVideo: |