mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
Bug 1234571: unregister encoded-frame callback when releasing codec databases r=pkerr
This commit is contained in:
parent
803af84dc5
commit
e527489ee4
@ -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