summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY1
-rw-r--r--INSTALL2
-rw-r--r--Makefile4
-rw-r--r--dxr3.c6
4 files changed, 7 insertions, 6 deletions
diff --git a/HISTORY b/HISTORY
index d161694..6e304e6 100644
--- a/HISTORY
+++ b/HISTORY
@@ -335,3 +335,4 @@ NOTE: I havent found time to include all of the languages, will be done in pre2
200x-xx-xx: Version x.x.x
- Fix build with >= ~2007-07 ffmpeg (Ville Skyttä)
+- Drop support for < 1.4.0 VDR versions (Ville Skyttä)
diff --git a/INSTALL b/INSTALL
index 11b79bf..502739b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -4,7 +4,7 @@ Prerequisites:
install, configure, test and verify the installation. If you use
version 0.16.0 or later of the driver, be sure to load it in OSS
audio mode (audio_driver=oss parameter to the em8300 module).
-- Install VDR 1.4.x (or at least >= 1.3.42).
+- Install VDR 1.4.x
- Install the libavcodec library from http://ffmpeg.sourceforge.net/
Installation:
diff --git a/Makefile b/Makefile
index aae8fc3..121ca6c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for a Video Disk Recorder plugin
#
-# $Id: Makefile,v 1.1.2.25 2006/09/17 12:46:36 scop Exp $
+# $Id: Makefile,v 1.1.2.26 2007/08/29 21:33:46 scop Exp $
# The official name of this plugin.
# This name will be used in the '-P...' option of VDR to load the plugin.
@@ -32,7 +32,7 @@ EM8300 = /usr/include
### The version number of VDR's plugin API (taken from VDR's "config.h"):
-APIVERSION = $(shell (grep 'define APIVERSION ' $(VDRDIR)/config.h || grep 'define VDRVERSION ' $(VDRDIR)/config.h) | awk '{ print $$3 }' | sed -e 's/"//g')
+APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
### The name of the distribution archive:
diff --git a/dxr3.c b/dxr3.c
index b0d0c8f..454c2f6 100644
--- a/dxr3.c
+++ b/dxr3.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: dxr3.c,v 1.1.2.34 2007/08/12 14:58:44 scop Exp $
+ * $Id: dxr3.c,v 1.1.2.35 2007/08/29 21:33:46 scop Exp $
*
*/
@@ -19,8 +19,8 @@ static const char VERSION[] = "0.2.8-cvs";
static const char DESCRIPTION[] = "Hardware MPEG decoder";
static const char MAINMENUENTRY[] = "DXR3";
-#if VDRVERSNUM && VDRVERSNUM < 10342
-#error "This version of the DXR3 plugin needs VDR version >= 1.3.42"
+#if APIVERSNUM && APIVERSNUM < 10400
+#error "This version of the DXR3 plugin needs VDR API version >= 1.4.0"
#endif
#define DXR3_MAX_CARDS 4