icecat: add release icecat-140.10.1-1gnu1 for ecne
This commit is contained in:
parent
a5f93cb214
commit
ff85d7c623
1256 changed files with 63469 additions and 24141 deletions
|
|
@ -43,6 +43,11 @@ void RemoteDecoderParent::Destroy() {
|
|||
mozilla::ipc::IPCResult RemoteDecoderParent::RecvInit(
|
||||
InitResolver&& aResolver) {
|
||||
MOZ_ASSERT(OnManagerThread());
|
||||
if (!mDecoder) {
|
||||
aResolver(MediaResult(NS_ERROR_ABORT, __func__));
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
RefPtr<RemoteDecoderParent> self = this;
|
||||
mDecoder->Init()->Then(
|
||||
mManagerThread, __func__,
|
||||
|
|
@ -143,6 +148,11 @@ mozilla::ipc::IPCResult RemoteDecoderParent::RecvDecode(
|
|||
mozilla::ipc::IPCResult RemoteDecoderParent::RecvFlush(
|
||||
FlushResolver&& aResolver) {
|
||||
MOZ_ASSERT(OnManagerThread());
|
||||
if (!mDecoder) {
|
||||
aResolver(MediaResult(NS_ERROR_ABORT, __func__));
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
RefPtr<RemoteDecoderParent> self = this;
|
||||
mDecoder->Flush()->Then(
|
||||
mManagerThread, __func__,
|
||||
|
|
@ -162,6 +172,11 @@ mozilla::ipc::IPCResult RemoteDecoderParent::RecvFlush(
|
|||
mozilla::ipc::IPCResult RemoteDecoderParent::RecvDrain(
|
||||
DrainResolver&& aResolver) {
|
||||
MOZ_ASSERT(OnManagerThread());
|
||||
if (!mDecoder) {
|
||||
aResolver(MediaResult(NS_ERROR_ABORT, __func__));
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
RefPtr<RemoteDecoderParent> self = this;
|
||||
mDecoder->Drain()->Then(
|
||||
mManagerThread, __func__,
|
||||
|
|
@ -203,13 +218,16 @@ mozilla::ipc::IPCResult RemoteDecoderParent::RecvShutdown(
|
|||
});
|
||||
}
|
||||
mDecoder = nullptr;
|
||||
mShutdown = true;
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
mozilla::ipc::IPCResult RemoteDecoderParent::RecvSetSeekThreshold(
|
||||
const TimeUnit& aTime) {
|
||||
MOZ_ASSERT(OnManagerThread());
|
||||
mDecoder->SetSeekThreshold(aTime);
|
||||
if (mDecoder) {
|
||||
mDecoder->SetSeekThreshold(aTime);
|
||||
}
|
||||
return IPC_OK();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue