summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--configure.ac6
-rw-r--r--ext/resindvd/resindvdsrc.h9
3 files changed, 20 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e3c4500c..4d628484 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-06-17 Sebastian Dröge <slomo@circular-chaos.org>
+
+ * configure.ac:
+ * ext/resindvd/resindvdsrc.h:
+ Make resindvd work with libdvdnav >= 4.0.0.
+
2008-06-17 Jan Schmidt <thaytan@noraisin.net>
* configure.ac:
diff --git a/configure.ac b/configure.ac
index ff70aeae..6a41c6f7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -234,6 +234,7 @@ AG_GST_CHECK_PLUGIN(app)
AG_GST_CHECK_PLUGIN(bayer)
AG_GST_CHECK_PLUGIN(cdxaparse)
AG_GST_CHECK_PLUGIN(deinterlace)
+AG_GST_CHECK_PLUGIN(deinterlace2)
AG_GST_CHECK_PLUGIN(dvdspu)
AG_GST_CHECK_PLUGIN(festival)
AG_GST_CHECK_PLUGIN(filter)
@@ -499,13 +500,15 @@ AG_GST_CHECK_FEATURE(DVDNAV, [dvdnav library], resindvd, [
[[ "$DVDNAV_MICRO" -lt "7" ]]; then
AC_MSG_WARN([libdvdnav >= 0.1.7 is required, you have $DVDNAV_VERSION])
HAVE_DVDNAV="no"
+ elif [[ "$DVDNAV_MAJOR" -eq "0" ]]; then
+ AC_DEFINE(DVDNAV_OLD, 1, [Define if an old libdvdnav is used])
fi
fi
dnl now check for dvdread/nav_print.h - see #133002
AC_CHECK_HEADER(dvdread/nav_print.h, , [
AC_MSG_WARN([header dvdread/nav_print.h from dvdread missing])
HAVE_DVDNAV="no"
- ])
+ ], [ #include "_stdint.h" ])
AS_SCRUB_INCLUDE(DVDNAV_CFLAGS)
])
@@ -1183,6 +1186,7 @@ gst/app/Makefile
gst/bayer/Makefile
gst/cdxaparse/Makefile
gst/deinterlace/Makefile
+gst/deinterlace2/Makefile
gst/dvdspu/Makefile
gst/festival/Makefile
gst/filter/Makefile
diff --git a/ext/resindvd/resindvdsrc.h b/ext/resindvd/resindvdsrc.h
index 8fe68100..c0272c81 100644
--- a/ext/resindvd/resindvdsrc.h
+++ b/ext/resindvd/resindvdsrc.h
@@ -25,12 +25,21 @@
#include "_stdint.h"
+#ifndef DVDNAV_OLD
+
+#include <dvdnav/dvdnav.h>
+#include <dvdread/ifo_read.h>
+
+#else
+
#include <dvdnav/dvd_reader.h>
#include <dvdnav/ifo_read.h>
#include <dvdnav/dvdnav.h>
#include <dvdnav/nav_print.h>
+#endif
+
G_BEGIN_DECLS
#define RESIN_TYPE_DVDSRC (rsn_dvdsrc_get_type())