fun with quicktime:
#include <QuickTime/Movies.h> instead of #include <Movies.h> on OS X to avoid having to specify the full path to the QT headers in the Makefiles #undef NDEBUG on OS X to avoid errors about ID being declared twice enable support for QuickTime in the original Makefiles on OS X
This commit is contained in:
@@ -37,16 +37,17 @@
|
||||
#include "IMB_anim.h"
|
||||
#include "BLO_sys_types.h"
|
||||
|
||||
#include <Movies.h>
|
||||
#ifdef __APPLE__
|
||||
#include <QuickTime/Movies.h>
|
||||
#include <QuickTime/QuickTimeComponents.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <Movies.h>
|
||||
#include <QTML.h>
|
||||
#include <TextUtils.h>
|
||||
#endif /* _WIN32 */
|
||||
|
||||
//#ifdef __APPLE__
|
||||
#include <TextUtils.h>
|
||||
#include <QuickTimeComponents.h>
|
||||
//#endif /* __APPLE__ */
|
||||
#endif /* _WIN32 */
|
||||
|
||||
#include "quicktime_import.h"
|
||||
|
||||
@@ -81,7 +82,7 @@ int anim_is_quicktime (char *name)
|
||||
BLI_testextensie(name, ".zip") ||
|
||||
BLI_testextensie(name, ".mp3")) return 0;
|
||||
|
||||
if(QTIME_DEBUG) printf("qt: checking as movie %s\n");
|
||||
if(QTIME_DEBUG) printf("qt: checking as movie\n");
|
||||
|
||||
sprintf(theFullPath, "%s", name);
|
||||
#ifdef __APPLE__
|
||||
|
Reference in New Issue
Block a user