Open Bug 2008471 Opened 4 days ago Updated 3 days ago

Ensure media.ffvpx-hw.enabled is honoured for video decoders

Categories

(Core :: Audio/Video, defect)

defect

Tracking

()

ASSIGNED

People

(Reporter: aosmond, Assigned: aosmond)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Even when disabling media.ffvpx-hw.enabled, we still fail various canvas tests that are not supposed to be able to use Android MediaCodec decoders. We need to check the pref in FFmpegVideoDecoder::InitHWDecoderIfAllowed.

This patch ensure that we do not create hardware backed video decoders
when the pref is set to false, including H264/HEVC decoders. This allows
various canvas related mochitests to now pass which currently disable
all Android MediaCodec decoders.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: