summaryrefslogtreecommitdiff
path: root/vhook
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2006-10-16 10:21:41 +0000
committerDiego Biurrun <diego@biurrun.de>2006-10-16 10:21:41 +0000
commit89ae0e620da01566a00eb572f815517db1379ef3 (patch)
treec9784a3f7f53f9b31ee03e198666f05aa3099c93 /vhook
parent8c9d49f266b41895f2b500c196b97d089be271c4 (diff)
downloadffmpeg-89ae0e620da01566a00eb572f815517db1379ef3.tar.gz
Add libswscale to the include path when enabled.
Originally committed as revision 6706 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'vhook')
-rw-r--r--vhook/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/vhook/Makefile b/vhook/Makefile
index 808ac56ceb..2e699d263a 100644
--- a/vhook/Makefile
+++ b/vhook/Makefile
@@ -6,6 +6,10 @@ CFLAGS=-I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil -I$(SRC_PATH)/libav
-I$(SRC_PATH)/libavformat $(VHOOKCFLAGS) -DHAVE_AV_CONFIG_H
LDFLAGS+= -g
+ifeq ($(CONFIG_SWSCALER),yes)
+CFLAGS := -I$(SRC_PATH)/libswscale $(CFLAGS)
+endif
+
HOOKS=null$(SLIBSUF) fish$(SLIBSUF) ppm$(SLIBSUF) watermark$(SLIBSUF)
ALLHOOKS=$(HOOKS) imlib2$(SLIBSUF) drawtext$(SLIBSUF)