Minor style fix to please internal style tool.
TBR=sprang@webrtc.org BUG=None Review-Url: https://codereview.webrtc.org/2654033006 Cr-Commit-Position: refs/heads/master@{#16301}
This commit is contained in:
parent
c3c82362f7
commit
4703741e49
@ -103,7 +103,7 @@ VideoCodec VideoCodecInitializer::VideoEncoderConfigToVideoCodec(
|
||||
break;
|
||||
case VideoEncoderConfig::ContentType::kScreen:
|
||||
video_codec.mode = kScreensharing;
|
||||
if (streams.size() >= 1 &&
|
||||
if (!streams.empty() &&
|
||||
streams[0].temporal_layer_thresholds_bps.size() == 1) {
|
||||
video_codec.targetBitrate =
|
||||
streams[0].temporal_layer_thresholds_bps[0] / 1000;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user