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 160220 - gst_pad_set_explicit_caps of a NULL caps doesn't work
gst_pad_set_explicit_caps of a NULL caps doesn't work
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal major
: 0.8.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2004-12-02 14:47 UTC by Edward Hervey
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edward Hervey 2004-12-02 14:47:02 UTC
The documentation for gst_pad_set_explicit_caps() states that if we pass a NULL
caps it will take off the explicit caps for the given pad. But there is
"g_return_val_if_fail (gst_caps_is_fixed (caps), FALSE);" at the beginning of
the function that stops doing so.

Solution : Move that line, under the "if (caps == NULL) {...}" block.
Comment 1 David Schleef 2004-12-14 06:24:16 UTC
I agree.  Fixed.