mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-03-25 10:01:18 +08:00
[fix] fix nvidia encoder crash during reconfigure the resolution
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user