1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-27 07:43:50 +01:00

fix the build of on-demand ffmpeg, disable the preference if FFmpeg support is not compiled in. Patch by Michael Chinen. This feature is currently off in experimental.h.

This commit is contained in:
RichardAsh1981@gmail.com
2013-05-25 15:36:04 +00:00
parent 8a1b3f38cc
commit fc0cb41356
2 changed files with 16 additions and 10 deletions

View File

@@ -140,9 +140,12 @@ void LibraryPrefs::PopulateOrExchange(ShuttleGui & S)
}
S.EndTwoColumn();
#ifdef EXPERIMENTAL_OD_FFMPEG
S.TieCheckBox(_("Allow &background on-demand loading"),
wxCheckBox* checkbox = S.TieCheckBox(_("Allow &background on-demand loading"),
wxT("/Library/FFmpegOnDemand"),
false);
#if !defined(USE_FFMPEG)
checkbox->Enable(FALSE);
#endif
#endif
}
S.EndStatic();