icecat: add release icecat-140.9.0-1gnu1 for ecne
This commit is contained in:
parent
8eb1f1732f
commit
a5f93cb214
1197 changed files with 30593 additions and 15344 deletions
|
|
@ -427,6 +427,24 @@ void GMPVideoEncoder::Encoded(GMPVideoEncodedFrame* aEncodedFrame,
|
|||
}
|
||||
}
|
||||
|
||||
void GMPVideoEncoder::Dropped(uint64_t aTimestamp) {
|
||||
MOZ_ASSERT(IsOnGMPThread());
|
||||
|
||||
RefPtr<EncodePromise::Private> promise;
|
||||
if (!mPendingEncodes.Remove(aTimestamp, getter_AddRefs(promise))) {
|
||||
GMP_LOG_WARNING(
|
||||
"[%p] GMPVideoEncoder::Dropped -- no frame matching timestamp %" PRIu64,
|
||||
this, aTimestamp);
|
||||
return;
|
||||
}
|
||||
|
||||
promise->Resolve(EncodedData(), __func__);
|
||||
|
||||
if (mPendingEncodes.IsEmpty()) {
|
||||
mDrainPromise.ResolveIfExists(EncodedData(), __func__);
|
||||
}
|
||||
}
|
||||
|
||||
void GMPVideoEncoder::Teardown(const MediaResult& aResult,
|
||||
StaticString aCallSite) {
|
||||
GMP_LOG_DEBUG("[%p] GMPVideoEncoder::Teardown", this);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue