summaryrefslogtreecommitdiff
path: root/src/post
diff options
context:
space:
mode:
Diffstat (limited to 'src/post')
-rw-r--r--src/post/deinterlace/plugins/Makefile.am2
-rw-r--r--src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h2
-rw-r--r--src/post/planar/pp.c7
3 files changed, 8 insertions, 3 deletions
diff --git a/src/post/deinterlace/plugins/Makefile.am b/src/post/deinterlace/plugins/Makefile.am
index 4185b5706..4348d87e2 100644
--- a/src/post/deinterlace/plugins/Makefile.am
+++ b/src/post/deinterlace/plugins/Makefile.am
@@ -20,7 +20,7 @@ include $(top_srcdir)/misc/Makefile.common
# libpostproc is here so we can use their nice mangle.h
AM_CFLAGS = $(VISIBILITY_FLAG)
AM_CPPFLAGS = -I$(top_srcdir)/src/post/deinterlace \
- -I$(top_srcdir)/contrib/ffmpeg/libpostproc
+ -I$(top_srcdir)/src/xine-utils
EXTRA_DIST = greedy2frame_template.c greedyh.asm \
tomsmocomp/SearchLoop0A.inc tomsmocomp/SearchLoopBottom.inc \
diff --git a/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h b/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h
index 5b81575d8..a0136fd44 100644
--- a/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h
+++ b/src/post/deinterlace/plugins/tomsmocomp/tomsmocompmacros.h
@@ -2,7 +2,7 @@
#include <math.h>
#include <stdlib.h>
-#include <mangle.h>
+#include "mangle.h"
#define USE_FOR_DSCALER
diff --git a/src/post/planar/pp.c b/src/post/planar/pp.c
index f8c571dcb..6dbd74ac9 100644
--- a/src/post/planar/pp.c
+++ b/src/post/planar/pp.c
@@ -25,9 +25,14 @@
#include <xine/xine_internal.h>
#include <xine/post.h>
#include <xine/xineutils.h>
-#include "postprocess.h"
#include <pthread.h>
+#ifdef HAVE_FFMPEG_AVUTIL_H
+# include <postprocess.h>
+#else
+# include <libpostproc/postprocess.h>
+#endif
+
#define PP_STRING_SIZE 256 /* size of pp mode string (including all options) */
/* plugin class initialization function */