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 332986 - Something wrong in caps checking...
Something wrong in caps checking...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.5
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-03-01 12:01 UTC by Jan Schmidt
Modified: 2006-03-15 16:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Schmidt 2006-03-01 12:01:51 UTC
This pipeline runs and doesn't produce any errors, despite the fact that mad is receiving buffers with caps audio/x-wav:

gst-launch filesrc location=file.wav ! typefind ! mad ! fakesink -v
Comment 1 Jan Schmidt 2006-03-15 16:34:47 UTC
Fixed in CVS:

        * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
        (gst_pad_accept_caps), (gst_pad_configure_sink),
        (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
        Make the default acceptcaps behaviour be to check the requested
        caps against the gst_pad_get_caps output.

        Ensure that gst_pad_accept_caps is used to check caps when a pad
        doesn't have a setcaps function, so that pads automatically refuse
        caps that they don't allow in their pad template. (Fixes #332986)

        When a buffer with attached caps is pushed, ensure that the source
        pad receives those caps even if the element didn't call
        gst_pad_set_caps first.