Originally committed to SVN as r1812.

This commit is contained in:
Rodrigo Braz Monteiro 2008-01-22 02:54:16 +00:00
parent d50c3575f9
commit 1afa7566ab
5 changed files with 12 additions and 5 deletions

View file

@ -37,7 +37,7 @@
///////////
// Headers
#include <wx/wxprec.h>
#ifdef __WINDOWS__
#ifdef WITH_AVISYNTH
#include <wx/filename.h>
#include <Mmreg.h>
#include <time.h>

View file

@ -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

View file

@ -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;

View file

@ -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>

View file

@ -60,6 +60,11 @@
//#define WITH_DIRECTSOUND
// Enable Avisynth
// Requires: nothing (just the avisynth dlls)
//#define WITH_AVISYNTH
///////////// MEDIUM PRIORITY ////////////