gecko-dev/dom/media/platforms
Andrew Osmond 6df86c7b93 Bug 1898773 - Ensure we also check for ffmpeg + OpenH264 when determining codec support. r=media-playback-reviewers,padenot a=RyanVM
When we create a video decoder with ffmpeg, we check if the underlying
decoder implementation is supplied by OpenH264. If so, and the
media.ffmpeg.allow-openh264 is set to false (the default), we refuse to
create the video decoder. This is a problem because the decoder module
for ffmpeg declared support for H264, so we did not try falling back to
our own OpenH264 plugin exposed via GMP.

This patch duplicates the logic check for ffmpeg + OpenH264 in
FFmpegDecoderModule::Supports to ensure we fallback properly.

Differential Revision: https://phabricator.services.mozilla.com/D223843
2024-09-26 21:01:38 +00:00
..
agnostic Bug 1898588 - part3 : add encryption scheme 'cbcs-1-9'. r=media-playback-reviewers,padenot 2024-05-29 18:27:03 +00:00
android Bug 1898588 - part3 : add encryption scheme 'cbcs-1-9'. r=media-playback-reviewers,padenot 2024-05-29 18:27:03 +00:00
apple Bug 1897181, 1897481: apply code formatting via Lando 2024-05-31 16:47:59 +00:00
ffmpeg Bug 1898773 - Ensure we also check for ffmpeg + OpenH264 when determining codec support. r=media-playback-reviewers,padenot a=RyanVM 2024-09-26 21:01:38 +00:00
omx
wmf Bug 1898588 - part3 : add encryption scheme 'cbcs-1-9'. r=media-playback-reviewers,padenot 2024-05-29 18:27:03 +00:00
wrappers Bug 1896758 - Part 2. Add MediaDataEncoderProxy to wrap encoders that run on a particular thread. r=media-playback-reviewers,padenot 2024-05-27 17:03:12 +00:00
AllocationPolicy.cpp
AllocationPolicy.h
EncoderConfig.cpp
EncoderConfig.h Bug 1896758 - Part 3. Add min/max bitrate to EncoderConfig. r=media-playback-reviewers,padenot 2024-05-27 17:03:12 +00:00
MediaCodecsSupport.cpp
MediaCodecsSupport.h
MediaTelemetryConstants.h
moz.build Bug 1896758 - Part 2. Add MediaDataEncoderProxy to wrap encoders that run on a particular thread. r=media-playback-reviewers,padenot 2024-05-27 17:03:12 +00:00
PDMFactory.cpp Bug 1897636 - allow the initialization for PDMs on any thread. r=media-playback-reviewers,padenot 2024-05-27 22:18:19 +00:00
PDMFactory.h
PEMFactory.cpp Bug 1896758 - Part 7. Plumb GMP video encoding into the PlatformEncoderModule framework. r=media-playback-reviewers,padenot 2024-05-27 17:03:14 +00:00
PEMFactory.h
PlatformDecoderModule.cpp
PlatformDecoderModule.h
PlatformEncoderModule.cpp
PlatformEncoderModule.h Bug 1896758 - Part 1. Make MediaDataEncoder refcounting virtual. r=media-playback-reviewers,padenot 2024-05-27 17:03:11 +00:00
ReorderQueue.h
SimpleMap.h