summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Regel <andreas.regel@powarman.de>2008-05-03 22:18:00 +0200
committerAndreas Regel <andreas.regel@powarman.de>2008-05-03 22:18:00 +0200
commit15f8e9b463ac432693b114c9b9f40a2155ae9dfb (patch)
tree75d96af805439e525c3afcc3e6c5abc99dc84159 /Makefile
parentcac6362d2207752926f9339c1c547d60d5c2a6a0 (diff)
downloadvdr-plugin-osdpip-15f8e9b463ac432693b114c9b9f40a2155ae9dfb.tar.gz
vdr-plugin-osdpip-15f8e9b463ac432693b114c9b9f40a2155ae9dfb.tar.bz2
Release version 0.0.10v0.0.10
- support swscale functions of recent FFMPEG versions. Have a look at README to see how to deactivate it for older FFPMEG versions. - support changed header file structure of recent FFMPEG versions. Have a look at README to see how to activate this. - added zapping through PiP channel based on a patch by pinky666 from vdr-portal. You can activate it via the green button.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 26 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5e27692..dc5bf38 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,18 @@
#
# $Id: Makefile,v 1.1.1.1 2004/11/19 16:45:31 lordjaxom Exp $
+# You can change the compile options here or create a Make.config
+# in the VDR directory an set them there.
+#
+### uncomment the following line, if you don't want to use swscale functions
+### for scaling and color format conversions. Then deprecated img_convert and
+### img_resample will be used instead.
+#WITHOUT_SWSCALE=1
+#
+### uncomment the following line, if you have a recent FFMPEG version that
+### has a changed structure of its header files.
+#WITH_NEW_FFMPEG_HEADERS=1
+
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
# By default the main source file also carries this name.
@@ -51,7 +63,20 @@ DEFINES += -D_GNU_SOURCE
OBJS = $(PLUGIN).o osd_info.o osd.o receiver.o setup.o i18n.o pes.o quantize.o decoder.o
ifdef FFMPEG_STATIC
- DEFINES += -DHAVE_FFMPEG_STATIC
+ DEFINES += -DHAVE_FFMPEG_STATIC
+endif
+
+ifndef WITHOUT_SWSCALE
+ DEFINES += -DUSE_SWSCALE
+ ifneq ($(shell which pkg-config),)
+ LIBS += $(shell pkg-config --silence-errors --libs libswscale)
+ else
+ LIBS += -lswscale
+ endif
+endif
+
+ifdef WITH_NEW_FFMPEG_HEADERS
+ DEFINES += -DUSE_NEW_FFMPEG_HEADERS
endif
### Implicit rules: