#pragma once
/*
- * Copyright (C) 2005-2010 Team XBMC
- * http://www.xbmc.org
+ * Copyright (C) 2005-2013 Team XBMC
+ * http://xbmc.org
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with XBMC; see the file COPYING. If not, write to
- * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
- * http://www.gnu.org/copyleft/gpl.html
+ * along with XBMC; see the file COPYING. If not, see
+ * <http://www.gnu.org/licenses/>.
*
*/
#endif
#if (defined USE_EXTERNAL_FFMPEG)
- #if (defined HAVE_LIBAVUTIL_AVUTIL_H)
- #include <libavutil/avutil.h>
- #elif (defined HAVE_FFMPEG_AVUTIL_H)
- #include <ffmpeg/avutil.h>
- #endif
- #if (defined HAVE_LIBPOSTPROC_POSTPROCESS_H)
- #include <libpostproc/postprocess.h>
- #elif (defined HAVE_POSTPROC_POSTPROCESS_H)
- #include <postproc/postprocess.h>
- #endif
+ #include <libavutil/avutil.h>
+ #include <libpostproc/postprocess.h>
#else
#include "libavutil/avutil.h"
#include "libpostproc/postprocess.h"
virtual void pp_free_context(pp_context *ppContext)=0;
};
-#if (defined USE_EXTERNAL_FFMPEG)
+#if (defined USE_EXTERNAL_FFMPEG) || (defined TARGET_DARWIN) || (defined USE_STATIC_FFMPEG)
// We call directly.
class DllPostProc : public DllDynamic, DllPostProcInterface
// DLL faking.
virtual bool ResolveExports() { return true; }
virtual bool Load() {
+#if !defined(TARGET_DARWIN) && !defined(USE_STATIC_FFMPEG)
CLog::Log(LOGDEBUG, "DllPostProc: Using libpostproc system library");
+#endif
return true;
}
virtual void Unload() {}