mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
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:
parent
88d3af9c69
commit
7569c4e6ee
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue