gst/gstpad.c: Allow caps to be NULL (bug #160220).

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_explicit_caps): Allow caps to
be NULL (bug #160220).
This commit is contained in:
David Schleef 2004-12-14 06:25:25 +00:00
parent 88d3af9c69
commit 7569c4e6ee
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2004-12-13 David Schleef <ds@schleef.org>
* gst/gstpad.c: (gst_pad_set_explicit_caps): Allow caps to
be NULL (bug #160220).
2004-12-13 David Schleef <ds@schleef.org>
* configure.ac: remove all mmx stuff, because it's not used.

View file

@ -2490,7 +2490,7 @@ gst_pad_set_explicit_caps (GstPad * pad, const GstCaps * caps)
GstPadLinkReturn link_ret;
g_return_val_if_fail (GST_IS_PAD (pad), FALSE);
g_return_val_if_fail (gst_caps_is_fixed (caps), FALSE);
g_return_val_if_fail (caps == NULL || gst_caps_is_fixed (caps), FALSE);
GST_CAT_DEBUG (GST_CAT_PADS,
"setting explicit caps on %s:%s to %" GST_PTR_FORMAT,