mirror of https://github.com/odrling/Aegisub
disable PRS on linux (needs layout revamping)
Originally committed to SVN as r312.
This commit is contained in:
parent
81d5c9ecf8
commit
585f9a6409
|
@ -21,6 +21,7 @@ typedef uint64_t __uint64;
|
||||||
|
|
||||||
#define NO_SPELLCHECKER
|
#define NO_SPELLCHECKER
|
||||||
#define NO_FEX
|
#define NO_FEX
|
||||||
|
#define NO_PRS
|
||||||
|
|
||||||
#if defined(HAVE_LIBAVCODEC) && defined(HAVE_LIBAVFORMAT)
|
#if defined(HAVE_LIBAVCODEC) && defined(HAVE_LIBAVFORMAT)
|
||||||
#define USE_LAVC
|
#define USE_LAVC
|
||||||
|
|
|
@ -130,7 +130,9 @@ void SubtitleFormat::LoadFormats () {
|
||||||
new ASSSubtitleFormat();
|
new ASSSubtitleFormat();
|
||||||
new SRTSubtitleFormat();
|
new SRTSubtitleFormat();
|
||||||
new TXTSubtitleFormat();
|
new TXTSubtitleFormat();
|
||||||
|
#ifndef NO_PRS
|
||||||
new PRSSubtitleFormat();
|
new PRSSubtitleFormat();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
loaded = true;
|
loaded = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,6 +34,8 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
|
|
||||||
|
#ifndef NO_PRS
|
||||||
|
|
||||||
///////////
|
///////////
|
||||||
// Headers
|
// Headers
|
||||||
#include <wx/image.h>
|
#include <wx/image.h>
|
||||||
|
@ -775,3 +777,5 @@ wxImage PRSSubtitleFormat::SubImageWithAlpha (wxImage &source,const wxRect &rect
|
||||||
|
|
||||||
return image;
|
return image;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* NO_PRS */
|
||||||
|
|
Loading…
Reference in New Issue