mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1234571: unregister encoded-frame callback when releasing codec databases r=pkerr
This commit is contained in:
parent
094cd16549
commit
1768b90533
@ -85,6 +85,7 @@ int32_t VCMGenericEncoder::Release()
|
||||
rtc::CritScope lock(&rates_lock_);
|
||||
bit_rate_ = 0;
|
||||
frame_rate_ = 0;
|
||||
encoder_->RegisterEncodeCompleteCallback(nullptr);
|
||||
vcm_encoded_frame_callback_ = nullptr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user