GNOME Bugzilla – Bug 160220
gst_pad_set_explicit_caps of a NULL caps doesn't work
Last modified: 2004-12-22 21:47:04 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.
I agree. Fixed.