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 03:35:07 PDT 2011


Hi Tim,

On Tue, Aug 16, 2011 at 6:23 PM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:
> On Tue, 2011-08-16 at 18:12 +0800, bcxa sz wrote:
>
> Hi,
>
>> I attached my config.h here and I didn't see the defination.
>>
>> All the Makefile and configure.h is generated automatically. And I
>> have a/v working on my embedded system with compiled gstreamer
>> library.
>>
>> Just had this problem when I try to add subtitle support.
>
> Sorry, I didn't read closely enough. The GST_DISABLE_XML define comes
> from the GStreamer core includes (gst/gstconfig.h). It should be set by
> default, unless you built GStreamer core with --disable-loadsave (and
> maybe other switches, don't remember exactly).
>

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

> Cheers
>  -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