mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1691578 - part2 : remove unnecessary operation of removing ffmpeg error flag. r=bryce
This operation is actually meaningless, because at the time we call `CreateRddPDMs()`, the PDMFactory is just created. [PDMFactory()->CreatePDMs()->CreateRddPDMs()] So that is impossible that we've failed to load ffmpeg before, so no need to subtract the `FFmpegFailedToLoad` flag. Differential Revision: https://phabricator.services.mozilla.com/D104472
This commit is contained in:
parent
e85012fb68
commit
3a4f0f96c7
@ -473,8 +473,6 @@ void PDMFactory::CreateRddPDMs() {
|
||||
StaticPrefs::media_rdd_ffmpeg_enabled() &&
|
||||
!CreateAndStartupPDM<FFmpegRuntimeLinker>()) {
|
||||
mFailureFlags += DecoderDoctorDiagnostics::Flags::FFmpegFailedToLoad;
|
||||
} else {
|
||||
mFailureFlags -= DecoderDoctorDiagnostics::Flags::FFmpegFailedToLoad;
|
||||
}
|
||||
#endif
|
||||
CreateAndStartupPDM<AgnosticDecoderModule>();
|
||||
|
Loading…
x
Reference in New Issue
Block a user