summaryrefslogtreecommitdiff
path: root/command/Makefile
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2010-09-24 23:02:39 +0200
committerJochen Dolze <vdr@dolze.de>2010-09-24 23:02:39 +0200
commit05dff1022a467deec38f93b0987db9aeb2b43420 (patch)
treeba18b9ed88d11070b7100fd2d5a895737d14e330 /command/Makefile
parent467feedc49246f6c2287c0e8a20a171596a9bba3 (diff)
downloadvdr-plugin-markad-05dff1022a467deec38f93b0987db9aeb2b43420.tar.gz
vdr-plugin-markad-05dff1022a467deec38f93b0987db9aeb2b43420.tar.bz2
Added support for libavcodec51 (see define in Makefile)
Lowered memory consumption on some cases Enhanced buffer usage output
Diffstat (limited to 'command/Makefile')
-rw-r--r--command/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/command/Makefile b/command/Makefile
index 2229eb3..6bbd123 100644
--- a/command/Makefile
+++ b/command/Makefile
@@ -2,6 +2,9 @@
# Makefile for a Video Disk Recorder addon
#
+# use this, if you use libavcodec51
+#WITH_OLD_FFMPEG_HEADERS=1
+
### The version number of this plugin (taken from the main source file):
VERSION = $(shell grep 'static const char \*VERSION *=' ../version.h | awk '{ print $$6 }' | sed -e 's/[";]//g')
@@ -22,6 +25,11 @@ DEFINES += -D_GNU_SOURCE
DEFINES += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
DEFINES += -D__STDC_CONSTANT_MACROS
+ifdef WITH_OLD_FFMPEG_HEADERS
+ DEFINES += -DUSE_OLD_FFMPEG_HEADERS
+endif
+
+
INCLUDES += $(shell $(PKG-CONFIG) --cflags $(PKG-INCLUDES))
LIBS += $(shell $(PKG-CONFIG) --libs $(PKG-LIBS)) -pthread