disable PRS on linux (needs layout revamping)

Originally committed to SVN as r312.
This commit is contained in:
David Lamparter 2006-04-08 19:34:57 +00:00
parent 81d5c9ecf8
commit 585f9a6409
3 changed files with 7 additions and 0 deletions

View File

@ -21,6 +21,7 @@ typedef uint64_t __uint64;
#define NO_SPELLCHECKER
#define NO_FEX
#define NO_PRS
#if defined(HAVE_LIBAVCODEC) && defined(HAVE_LIBAVFORMAT)
#define USE_LAVC

View File

@ -130,7 +130,9 @@ void SubtitleFormat::LoadFormats () {
new ASSSubtitleFormat();
new SRTSubtitleFormat();
new TXTSubtitleFormat();
#ifndef NO_PRS
new PRSSubtitleFormat();
#endif
}
loaded = true;
}

View File

@ -34,6 +34,8 @@
//
#ifndef NO_PRS
///////////
// Headers
#include <wx/image.h>
@ -775,3 +777,5 @@ wxImage PRSSubtitleFormat::SubImageWithAlpha (wxImage &source,const wxRect &rect
return image;
}
#endif /* NO_PRS */