From dfe9ffc5830536c607982a9d901163180955e335 Mon Sep 17 00:00:00 2001 From: Seth Hampson Date: Mon, 8 Jan 2018 11:41:14 -0800 Subject: [PATCH] Added active field to constructor and ToString() of VideoStream. Bug: webrtc:8653 Change-Id: Ia4a1917d485b7c770195c450ddf425f4987e3607 Reviewed-on: https://webrtc-review.googlesource.com/38062 Commit-Queue: Seth Hampson Reviewed-by: Zach Stein Reviewed-by: Stefan Holmer Cr-Commit-Position: refs/heads/master@{#21539} --- call/video_config.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/call/video_config.cc b/call/video_config.cc index 35fcd3e9ba..85140515f7 100644 --- a/call/video_config.cc +++ b/call/video_config.cc @@ -23,7 +23,8 @@ VideoStream::VideoStream() min_bitrate_bps(-1), target_bitrate_bps(-1), max_bitrate_bps(-1), - max_qp(-1) {} + max_qp(-1), + active(true) {} VideoStream::VideoStream(const VideoStream& other) = default; VideoStream::~VideoStream() = default; @@ -37,6 +38,7 @@ std::string VideoStream::ToString() const { ss << ", target_bitrate_bps:" << target_bitrate_bps; ss << ", max_bitrate_bps:" << max_bitrate_bps; ss << ", max_qp: " << max_qp; + ss << ", active: " << active; ss << ", temporal_layer_thresholds_bps: ["; for (size_t i = 0; i < temporal_layer_thresholds_bps.size(); ++i) {