summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2008-06-17 10:53:35 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2008-06-17 10:53:35 +0000
commitaacf6838eb688de5ba78468fddfd50a7b4b76582 (patch)
tree168b7d464b1048a586ce1a16037dbc93171ea049 /ext
parent0951e00dc05236b54a03e25c2c331bf1be332dc5 (diff)
downloadgst-plugins-bad-aacf6838eb688de5ba78468fddfd50a7b4b76582.tar.gz
gst-plugins-bad-aacf6838eb688de5ba78468fddfd50a7b4b76582.tar.bz2
gst-plugins-bad-aacf6838eb688de5ba78468fddfd50a7b4b76582.zip
Make resindvd work with libdvdnav >= 4.0.0.
Original commit message from CVS: * configure.ac: * ext/resindvd/resindvdsrc.h: Make resindvd work with libdvdnav >= 4.0.0.
Diffstat (limited to 'ext')
-rw-r--r--ext/resindvd/resindvdsrc.h9
1 files changed, 9 insertions, 0 deletions
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())