MCPcopy Create free account
hub / github.com/audacity/audacity / FFmpegStartup

Function FFmpegStartup

modules/import-export/mod-ffmpeg/FFmpeg.cpp:59–74  ·  view source on GitHub ↗

Called during Audacity start-up to try and load the ffmpeg libraries */

Source from the content-addressed store, hash-verified

57
58/** Called during Audacity start-up to try and load the ffmpeg libraries */
59void 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
76TranslatableString GetFFmpegVersion()
77{

Callers 1

ModuleDispatchFunction · 0.85

Calls 3

LoadFFmpegFunction · 0.85
AudacityMessageBoxFunction · 0.85
ReadMethod · 0.45

Tested by

no test coverage detected