[fix] fix nvidia encoder crash during reconfigure the resolution

This commit is contained in:
dijunkun
2024-09-10 17:32:43 +08:00
parent 2f16d22ab7
commit a8333c622b
40 changed files with 4507 additions and 25450 deletions

View File

@@ -491,8 +491,8 @@ int PeerConnection::SendVideoData(const char *data, size_t size) {
}
if (b_force_i_frame_) {
video_encoder_->ForceIdr();
LOG_INFO("Force I frame");
video_encoder_->ForceIdr();
b_force_i_frame_ = false;
}