mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-05-26 14:18:48 +00:00
Make "media.ffmpeg.enabled" pref actually disable FFmpeg when set to false
This commit is contained in:
@@ -160,6 +160,9 @@ IsFFmpegAvailable()
|
||||
#ifndef MOZ_FFMPEG
|
||||
return false;
|
||||
#else
|
||||
if (!Preferences::GetBool("media.ffmpeg.enabled", false)) {
|
||||
return false;
|
||||
}
|
||||
nsRefPtr<PlatformDecoderModule> m = FFmpegRuntimeLinker::CreateDecoderModule();
|
||||
return !!m;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user