mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[fix] fix nvidia encoder crash during reconfigure the resolution
This commit is contained in:
@@ -362,7 +362,10 @@ int AomAv1Encoder::OnEncodedImage(char *encoded_packets, size_t size) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void AomAv1Encoder::ForceIdr() { force_i_frame_flags_ = AOM_EFLAG_FORCE_KF; }
|
||||
int AomAv1Encoder::ForceIdr() {
|
||||
force_i_frame_flags_ = AOM_EFLAG_FORCE_KF;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int AomAv1Encoder::Release() {
|
||||
if (frame_for_encode_ != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user