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 <shampson@webrtc.org> Reviewed-by: Zach Stein <zstein@webrtc.org> Reviewed-by: Stefan Holmer <stefan@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21539}
This commit is contained in:
parent
43bd705560
commit
dfe9ffc583
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user