mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-21 15:57:31 +09:00
Revert "Issue #2301 - Make Gecko Media Plugins optional when not building EME or WebRTC"
This reverts commit 9e7d1492e6.
This commit is contained in:
parent
7e50abda7d
commit
119feb053c
54 changed files with 30 additions and 314 deletions
|
|
@ -23,11 +23,7 @@ class BufferDecoder final : public AbstractMediaDecoder
|
|||
public:
|
||||
// This class holds a weak pointer to MediaResource. It's the responsibility
|
||||
// of the caller to manage the memory of the MediaResource object.
|
||||
#ifdef MOZ_GMP
|
||||
explicit BufferDecoder(MediaResource* aResource, GMPCrashHelper* aCrashHelper);
|
||||
#else
|
||||
explicit BufferDecoder(MediaResource* aResource);
|
||||
#endif
|
||||
|
||||
NS_DECL_THREADSAFE_ISUPPORTS
|
||||
|
||||
|
|
@ -43,17 +39,13 @@ public:
|
|||
|
||||
MediaDecoderOwner* GetOwner() const final override;
|
||||
|
||||
#ifdef MOZ_GMP
|
||||
already_AddRefed<GMPCrashHelper> GetCrashHelper() override;
|
||||
#endif
|
||||
|
||||
private:
|
||||
virtual ~BufferDecoder();
|
||||
RefPtr<TaskQueue> mTaskQueueIdentity;
|
||||
RefPtr<MediaResource> mResource;
|
||||
#ifdef MOZ_GMP
|
||||
RefPtr<GMPCrashHelper> mCrashHelper;
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace mozilla
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue