forked from mia/Aegisub
Change "windows specific" things in the preferences dialog to avisynth-specific
Originally committed to SVN as r6241.
This commit is contained in:
parent
32abbde477
commit
976da6717e
1 changed files with 8 additions and 8 deletions
|
@ -477,11 +477,11 @@ Advanced_Audio::Advanced_Audio(wxTreebook *book, Preferences *parent): OptionPag
|
||||||
|
|
||||||
OptionAdd(spectrum, _("Cache memory max (MB)"), "Audio/Renderer/Spectrum/Memory Max", 2, 1024);
|
OptionAdd(spectrum, _("Cache memory max (MB)"), "Audio/Renderer/Spectrum/Memory Max", 2, 1024);
|
||||||
|
|
||||||
#if defined(WIN32) || defined(_DEBUG)
|
#ifdef WITH_AVISYNTH
|
||||||
wxFlexGridSizer *windows = PageSizer(_("Windows Specific"));
|
wxFlexGridSizer *avisynth = PageSizer(_("Avisynth"));
|
||||||
const wxString adm_arr[3] = { "ConvertToMono", "GetLeftChannel", "GetRightChannel" };
|
const wxString adm_arr[3] = { "ConvertToMono", "GetLeftChannel", "GetRightChannel" };
|
||||||
wxArrayString adm_choice(3, adm_arr);
|
wxArrayString adm_choice(3, adm_arr);
|
||||||
OptionChoice(windows, _("Avisynth down-mixer"), adm_choice, "Audio/Downmixer");
|
OptionChoice(avisynth, _("Avisynth down-mixer"), adm_choice, "Audio/Downmixer");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef WITH_PORTAUDIO
|
#ifdef WITH_PORTAUDIO
|
||||||
|
@ -504,11 +504,11 @@ Advanced_Video::Advanced_Video(wxTreebook *book, Preferences *parent): OptionPag
|
||||||
OptionChoice(expert, _("Subtitle provider"), sp_choice, "Subtitle/Provider");
|
OptionChoice(expert, _("Subtitle provider"), sp_choice, "Subtitle/Provider");
|
||||||
|
|
||||||
|
|
||||||
#if defined(WIN32) || defined(_DEBUG)
|
#ifdef WITH_AVISYNTH
|
||||||
wxFlexGridSizer *windows = PageSizer(_("Windows Specific"));
|
wxFlexGridSizer *avisynth = PageSizer(_("Avisynth"));
|
||||||
OptionAdd(windows, _("Allow pre-2.56a Avisynth"), "Provider/Avisynth/Allow Ancient");
|
OptionAdd(avisynth, _("Allow pre-2.56a Avisynth"), "Provider/Avisynth/Allow Ancient");
|
||||||
CellSkip(windows);
|
CellSkip(avisynth);
|
||||||
OptionAdd(windows, _("Avisynth memory limit"), "Provider/Avisynth/Memory Max");
|
OptionAdd(avisynth, _("Avisynth memory limit"), "Provider/Avisynth/Memory Max");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
SetSizerAndFit(sizer);
|
SetSizerAndFit(sizer);
|
||||||
|
|
Loading…
Reference in a new issue