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 02:42:41 PDT 2011


Hi Developers,

I have cross compiled gstreamer on embedded system. And I have below
flags in gst-plugins-base-0.10.32/gst/subparse/Makefile:
GST_DISABLE_ALLOC_TRACE = 1
GST_DISABLE_GST_DEBUG = 1
GST_DISABLE_LOADSAVE = 1
GST_DISABLE_PARSE = 1
GST_DISABLE_PLUGIN = 1
GST_DISABLE_REGISTRY = 1
GST_DISABLE_TRACE = 1
GST_DISABLE_XML = 1

And look at the gstsubparse.c:
#ifndef GST_DISABLE_XML
    case GST_SUB_PARSE_FORMAT_SAMI:    	
      self->parse_line = parse_sami;
      sami_context_init (&self->state);
      return gst_caps_new_simple ("text/x-pango-markup", NULL);
#endif

This piece of code is assumed not to get compiled. But this is not
true and it still get compiled.

And it seemed that GST_DISABLE_XML flag is not given to compiler with -D.

Anybody know this?

best regards

BCXA


More information about the gstreamer-devel mailing list