diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-06-17 10:53:35 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-06-17 10:53:35 +0000 |
commit | aacf6838eb688de5ba78468fddfd50a7b4b76582 (patch) | |
tree | 168b7d464b1048a586ce1a16037dbc93171ea049 | |
parent | 0951e00dc05236b54a03e25c2c331bf1be332dc5 (diff) | |
download | gst-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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | ext/resindvd/resindvdsrc.h | 9 |
3 files changed, 20 insertions, 1 deletions
@@ -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()) |