Use enum class for VideoCodecMode and VideoCodecComplexity.
Bug: webrtc:7660 Change-Id: I6a8ef01f8abcc25c8efaf0af387408343a7c8ba3 Reviewed-on: https://webrtc-review.googlesource.com/81240 Commit-Queue: Niels Moller <nisse@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23595}
This commit is contained in:
@ -614,7 +614,7 @@ int32_t MediaCodecVideoEncoder::Encode(
|
||||
}
|
||||
|
||||
bool send_key_frame = false;
|
||||
if (codec_mode_ == kRealtimeVideo) {
|
||||
if (codec_mode_ == VideoCodecMode::kRealtimeVideo) {
|
||||
++frames_received_since_last_key_;
|
||||
int64_t now_ms = rtc::TimeMillis();
|
||||
if (last_frame_received_ms_ != -1 &&
|
||||
|
||||
Reference in New Issue
Block a user