GNOME Bugzilla – Bug 358436
#include is missing in gstghostpad.c and gstquery.c
Last modified: 2006-10-02 11:52:26 UTC
#include "gstinfo.h" is missing in both gstghostpad.c and gstquery.c This causes a problem in the link phase because the macros defined in gstinfo.h are interpreted as functions (prototypes) lacking implementations. This can be observed when /gst is compiled with the flag -DGST_DISABLE_GST_DEBUG I observed this when compiling under MinGW.
Thanks!: Patch by: mrcgran <mrc.gran at gmail dot com> * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps): Filter the proxied caps against the padtemplate if we have one. * gst/gstquery.c: (gst_query_new_segment): Add include for gstinfo.h so that compilation with -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
*** Bug 358346 has been marked as a duplicate of this bug. ***