use fixed SRCREV 1e99787f3387d3dd1e6167af73597674bf8fe37d.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-multimedia / gstreamer / gst-plugins-base-0.10.36 / disable-vorbis-encoder.patch
1 --- a/configure.ac      2012-08-25 00:33:07.000000000 +0200
2 +++ b/configure.ac      2012-08-25 00:34:12.730232665 +0200
3 @@ -806,7 +806,7 @@
4  dnl AM_PATH_VORBIS only takes two options
5  translit(dnm, m, l) AM_CONDITIONAL(USE_VORBIS, true)
6  AG_GST_CHECK_FEATURE(VORBIS, [Xiph Vorbis audio codec], vorbis, [
7 -  AG_GST_PKG_CHECK_MODULES(VORBIS, vorbis >= 1.0 vorbisenc >= 1.0)
8 +  AG_GST_PKG_CHECK_MODULES(VORBIS, vorbis >= 1.0)
9    if test $HAVE_VORBIS = no
10    then
11      XIPH_PATH_VORBIS(HAVE_VORBIS="yes", HAVE_VORBIS="no")
12 --- a/ext/vorbis/gstvorbis.c    2012-08-25 00:34:05.086232463 +0200
13 +++ b/ext/vorbis/gstvorbis.c    2012-08-25 00:33:32.000000000 +0200
14 @@ -36,10 +36,6 @@
15  static gboolean
16  plugin_init (GstPlugin * plugin)
17  {
18 -  if (!gst_element_register (plugin, "vorbisenc", GST_RANK_PRIMARY,
19 -          GST_TYPE_VORBISENC))
20 -    return FALSE;
21 -
22    if (!gst_element_register (plugin, "vorbisdec", GST_RANK_PRIMARY,
23            gst_vorbis_dec_get_type ()))
24      return FALSE;
25 @@ -52,8 +48,6 @@
26            gst_vorbis_tag_get_type ()))
27      return FALSE;
28  
29 -  GST_DEBUG_CATEGORY_INIT (vorbisenc_debug, "vorbisenc", 0,
30 -      "vorbis encoding element");
31    GST_DEBUG_CATEGORY_INIT (vorbisdec_debug, "vorbisdec", 0,
32        "vorbis decoding element");
33    GST_DEBUG_CATEGORY_INIT (vorbisparse_debug, "vorbisparse", 0,
34 --- a/ext/vorbis/Makefile.am    2012-08-25 00:34:05.086232463 +0200
35 +++ b/ext/vorbis/Makefile.am    2012-08-25 00:33:32.000000000 +0200
36 @@ -6,7 +6,6 @@
37  libgstvorbis_la_SOURCES = gstvorbis.c \
38                           gstvorbisdec.c \
39                           gstvorbisdeclib.c \
40 -                         gstvorbisenc.c \
41                           gstvorbisparse.c \
42                           gstvorbistag.c \
43                           gstvorbiscommon.c
44 --- a/m4/vorbis.m4      2012-08-25 00:34:05.086232463 +0200
45 +++ b/m4/vorbis.m4      2012-08-25 00:33:32.000000000 +0200
46 @@ -26,7 +26,7 @@
47  
48    VORBIS_LIBS="$VORBIS_LIBS -lvorbis -lm"
49    VORBISFILE_LIBS="-lvorbisfile"
50 -  VORBISENC_LIBS="-lvorbisenc"
51 +  VORBISENC_LIBS=""
52  
53    if test "x$vorbis_includes" != "x" ; then
54      VORBIS_CFLAGS="-I$vorbis_includes"