forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1898773 - Ensure we also check for ffmpeg + OpenH264 when determi…
…ning 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
- Loading branch information
Showing
3 changed files
with
34 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters