mirror of https://github.com/odrling/Aegisub
Originally committed to SVN as r1812.
This commit is contained in:
parent
d50c3575f9
commit
1afa7566ab
|
@ -37,7 +37,7 @@
|
|||
///////////
|
||||
// Headers
|
||||
#include <wx/wxprec.h>
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef WITH_AVISYNTH
|
||||
#include <wx/filename.h>
|
||||
#include <Mmreg.h>
|
||||
#include <time.h>
|
||||
|
|
|
@ -36,9 +36,9 @@
|
|||
|
||||
////////////
|
||||
// Includes
|
||||
#include "avisynth_wrap.h"
|
||||
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef WITH_AVISYNTH
|
||||
#include "avisynth_wrap.h"
|
||||
#include "options.h"
|
||||
|
||||
#ifdef DEBUG_AVISYNTH_CODE
|
||||
|
|
|
@ -46,7 +46,9 @@
|
|||
|
||||
#include "subs_grid.h"
|
||||
#include "frame_main.h"
|
||||
#ifdef WITH_AVISYNTH
|
||||
#include "avisynth_wrap.h"
|
||||
#endif
|
||||
#include "video_display.h"
|
||||
#include "video_provider.h"
|
||||
#include "video_slider.h"
|
||||
|
@ -1104,7 +1106,7 @@ void FrameMain::LoadAudio(wxString filename,bool FromVideo) {
|
|||
wxString err(error);
|
||||
wxMessageBox(err, _T("Error opening audio file"), wxOK | wxICON_ERROR, this);
|
||||
}
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef WITH_AVISYNTH
|
||||
catch (AvisynthError err) {
|
||||
wxMessageBox (wxString(_T("AviSynth error: ")) + wxString(err.msg,wxConvUTF8), _T("Error loading audio"), wxOK | wxICON_ERROR);
|
||||
return;
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
///////////
|
||||
// Headers
|
||||
#include <wx/wxprec.h>
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef WITH_AVISYNTH
|
||||
#include <wx/filename.h>
|
||||
#include <wx/msw/registry.h>
|
||||
#include <wx/filename.h>
|
||||
|
|
|
@ -60,6 +60,11 @@
|
|||
//#define WITH_DIRECTSOUND
|
||||
|
||||
|
||||
// Enable Avisynth
|
||||
// Requires: nothing (just the avisynth dlls)
|
||||
//#define WITH_AVISYNTH
|
||||
|
||||
|
||||
|
||||
///////////// MEDIUM PRIORITY ////////////
|
||||
|
||||
|
|
Loading…
Reference in New Issue