gst-plugins-base-0.10.32: GST_DISABLE_XML=1 doesn't work in gstsubparse.c
bcxa sz
bcxa.sz at gmail.com
Tue Aug 16 19:11:45 PDT 2011
Hi Tim,
On Tue, Aug 16, 2011 at 6:41 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> On Tue, 2011-08-16 at 18:35 +0800, bcxa sz wrote:
>
>> And in gstconfig.h, I didn't see these flags are set and all is
>> commented like below.
>> ====================================================================
>> /* trick gtk-doc into believing these symbols are defined (yes, it's ugly) */
>> #if 0
>> #define GST_DISABLE_GST_DEBUG 1
>> #define GST_DISABLE_LOADSAVE 1
>> #define GST_DISABLE_PARSE 1
>> #define GST_DISABLE_TRACE 1
>> #define GST_DISABLE_ALLOC_TRACE 1
>> #define GST_DISABLE_REGISTRY 1
>> #define GST_DISABLE_PLUGIN 1
>> #define GST_DISABLE_XML 1
>> #define GST_DISABLE_LOADSAVE_REGISTRY 1
>> #define GST_HAVE_GLIB_2_8 1
>> #endif
>
> Checked further down? there should be something like:
>
> /**
> * GST_DISABLE_XML:
> *
> * Configures the use libxml2. This setting is derived from the settings
> of
> * %GST_DISABLE_LOADSAVE and %GST_DISABLE_REGISTRY (in the xml registry
> case).
> */
> /* #undef GST_DISABLE_XML */
>
Yes, I saw this piece of code and it is commented. And after this,
/***** Deal with XML stuff, we have to handle both loadsave and registry *****/
/* FIXME: move include to where we need it */
/*#if (! (defined(GST_DISABLE_LOADSAVE) && defined(GST_DISABLE_REGISTRY)) )*/
#ifndef GST_DISABLE_XML
#ifndef GST_DISABLE_DEPRECATED
# include <libxml/parser.h>
#endif
#else
/* FIXME: 0.11 (replace by GST_DISABLE_XML) */
# define GST_DISABLE_LOADSAVE_REGISTRY
#endif
But I still can not see where GST_DISABLE_XML defined.
And I have one question on how GST_DISABLE_XML is set, check which condition.
I looked at the gstreamer on Fedor14. Fedora14 is also use libxml2 but
why GST_DISABLE_XML = 0?
My embedded system is also use libxml2 but GST_DISABLE_XML = 1.
Sorry, I am not familiar with gstreamer auto configure. And any
document on this?
>
> -Tim
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list