mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-25 09:57:32 +09:00
Merge remote-tracking branch 'origin/tracking' into custom
This commit is contained in:
commit
bac9ec9a84
39 changed files with 541 additions and 108 deletions
|
|
@ -32,6 +32,13 @@ public:
|
|||
already_AddRefed<MediaDataDecoder>
|
||||
CreateVideoDecoder(const CreateDecoderParams& aParams) override
|
||||
{
|
||||
// Temporary - forces use of VPXDecoder when alpha is present.
|
||||
// Bug 1263836 will handle alpha scenario once implemented. It will shift
|
||||
// the check for alpha to PDMFactory but not itself remove the need for a
|
||||
// check.
|
||||
if (aParams.VideoConfig().HasAlpha()) {
|
||||
return nullptr;
|
||||
}
|
||||
RefPtr<MediaDataDecoder> decoder =
|
||||
new FFmpegVideoDecoder<V>(mLib,
|
||||
aParams.mTaskQueue,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue