| 38 | static BoolSetting FFmpegEnabled{ L"/FFmpeg/Enabled", false }; |
| 39 | |
| 40 | bool LoadFFmpeg(bool showerror) |
| 41 | { |
| 42 | auto ffmpeg = FFmpegFunctions::Load(); |
| 43 | |
| 44 | if (!ffmpeg) |
| 45 | { |
| 46 | FFmpegEnabled.Write(false); |
| 47 | gPrefs->Flush(); |
| 48 | return false; |
| 49 | } |
| 50 | else |
| 51 | { |
| 52 | FFmpegEnabled.Write(true); |
| 53 | gPrefs->Flush(); |
| 54 | return true; |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | /** Called during Audacity start-up to try and load the ffmpeg libraries */ |
| 59 | void FFmpegStartup() |
no test coverage detected