]> git.pld-linux.org Git - packages/gstreamer-plugins-bad.git/blob - gstreamer-plugins-bad-divx4linux.patch
bf062249c20b551e22ca9399896f85c9bd92c8d3
[packages/gstreamer-plugins-bad.git] / gstreamer-plugins-bad-divx4linux.patch
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
3 @@ -21,7 +21,7 @@
4  #define __GST_DIVXDEC_H__
5  
6  #include <gst/gst.h>
7 -#include <decore.h>
8 +#include <divx/decore.h>
9  
10  #ifdef __cplusplus
11  extern "C" {
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
14 @@ -24,7 +24,7 @@
15  #include <string.h>
16  #include "gstdivxenc.h"
17  #include <gst/video/video.h>
18 -#include <encore2.h>
19 +#include <divx/encore2.h>
20  
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
25 @@ -421,13 +421,13 @@
26  translit(dnm, m, l) AM_CONDITIONAL(USE_DIVX, true)
27  GST_CHECK_FEATURE(DIVX, [divx plugins], divx, [
28    HAVE_DIVX=yes
29 -  AC_CHECK_HEADER(encore2.h, ,
30 +  AC_CHECK_HEADER(divx/encore2.h, ,
31                    [ AC_MSG_WARN([Divx4linux encore headers not found]) &&
32                      HAVE_DIVX=no ] )
33    if [ test x$HAVE_DIVX = xyes ]; then
34      AC_MSG_CHECKING([Checking for valid divx4linux encore version])
35      AC_TRY_COMPILE([
36 -#include <encore2.h>
37 +#include <divx/encore2.h>
38  #if ENCORE_VERSION != 20021024
39  #error Wrong version of divx encore libraries
40  #endif
41 @@ -438,14 +438,14 @@
42           AC_MSG_WARN([Wrong version of divx4linux installed]) ])
43    fi
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]) &&
48                        HAVE_DIVX=no ] )
49    fi
50    if [ test x$HAVE_DIVX = xyes ]; then
51      AC_MSG_CHECKING([Checking for valid divx4linux decore version])
52      AC_TRY_COMPILE([
53 -#include <decore.h>
54 +#include <divx/decore.h>
55  #if DECORE_VERSION != 20021112
56  #error Wrong version of divx decore libraries
57  #endif
This page took 0.021383 seconds and 2 git commands to generate.