Called during Audacity start-up to try and load the ffmpeg libraries */
| 57 | |
| 58 | /** Called during Audacity start-up to try and load the ffmpeg libraries */ |
| 59 | void FFmpegStartup() |
| 60 | { |
| 61 | bool enabled = FFmpegEnabled.Read(); |
| 62 | // 'false' means that no errors should be shown whatsoever |
| 63 | if (!LoadFFmpeg(false)) |
| 64 | { |
| 65 | if (enabled) |
| 66 | { |
| 67 | AudacityMessageBox(XO( |
| 68 | "FFmpeg was configured in Preferences and successfully loaded before, \ |
| 69 | \nbut this time Audacity failed to load it at startup. \ |
| 70 | \n\nYou may want to go back to Preferences > Libraries and re-configure it."), |
| 71 | XO("FFmpeg startup failed")); |
| 72 | } |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | TranslatableString GetFFmpegVersion() |
| 77 | { |
no test coverage detected