After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 358436 - #include is missing in gstghostpad.c and gstquery.c
#include is missing in gstghostpad.c and gstquery.c
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.10
Other Windows
: Normal major
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 358346 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-09-30 05:41 UTC by Marcus Granado
Modified: 2006-10-02 11:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Marcus Granado 2006-09-30 05:41:06 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.
Comment 1 Wim Taymans 2006-10-02 10:40:31 UTC
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.
Comment 2 Peter Kjellerstedt 2006-10-02 11:52:26 UTC
*** Bug 358346 has been marked as a duplicate of this bug. ***