1 --- gst-plugins-bad-0.10.1/ext/divx/gstdivxdec.h.orig 2005-12-19 15:40:22.000000000 +0100
2 +++ gst-plugins-bad-0.10.1/ext/divx/gstdivxdec.h 2006-02-25 01:04:28.560232500 +0100
4 #define __GST_DIVXDEC_H__
8 +#include <divx/decore.h>
12 --- gst-plugins-bad-0.10.1/ext/divx/gstdivxenc.c.orig 2005-12-19 15:40:22.000000000 +0100
13 +++ gst-plugins-bad-0.10.1/ext/divx/gstdivxenc.c 2006-02-25 01:04:46.369345500 +0100
16 #include "gstdivxenc.h"
17 #include <gst/video/video.h>
19 +#include <divx/encore2.h>
21 /* elementfactory information */
22 GstElementDetails gst_divxenc_details = {
23 --- gst-plugins-bad-0.10.1/configure.ac.orig 2006-02-25 00:57:12.156959000 +0100
24 +++ gst-plugins-bad-0.10.1/configure.ac 2006-02-25 01:03:56.306216750 +0100
26 translit(dnm, m, l) AM_CONDITIONAL(USE_DIVX, true)
27 GST_CHECK_FEATURE(DIVX, [divx plugins], divx, [
29 - AC_CHECK_HEADER(encore2.h, ,
30 + AC_CHECK_HEADER(divx/encore2.h, ,
31 [ AC_MSG_WARN([Divx4linux encore headers not found]) &&
33 if [ test x$HAVE_DIVX = xyes ]; then
34 AC_MSG_CHECKING([Checking for valid divx4linux encore version])
37 +#include <divx/encore2.h>
38 #if ENCORE_VERSION != 20021024
39 #error Wrong version of divx encore libraries
42 AC_MSG_WARN([Wrong version of divx4linux installed]) ])
44 if [ test x$HAVE_DIVX = xyes ]; then
45 - AC_CHECK_HEADER(decore.h, ,
46 + AC_CHECK_HEADER(divx/decore.h, ,
47 [ AC_MSG_WARN([Divx4linux decoder headers not found]) &&
50 if [ test x$HAVE_DIVX = xyes ]; then
51 AC_MSG_CHECKING([Checking for valid divx4linux decore version])
54 +#include <divx/decore.h>
55 #if DECORE_VERSION != 20021112
56 #error Wrong version of divx decore libraries