gst/gstcaps.*: Add simplify function
authorDavid Schleef <ds@schleef.org>
Tue, 30 Dec 2003 04:59:48 +0000 (04:59 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 30 Dec 2003 04:59:48 +0000 (04:59 +0000)
commitcd1d72deb2dd21d06148318ad7a1f70a3df4f949
tree07cadbb98a48d8ec0ceab6c01183ee203be619c3
parentabe422b1414ded83af172e92810c72cc5ea55181
gst/gstcaps.*: Add simplify function

Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_normalize), (simplify_foreach),
(gst_caps_structure_simplify), (gst_caps_simplify):
* gst/gstcaps.h:
Add simplify function
* gst/gstpad.c: (gst_pad_link_try), (gst_pad_try_set_caps),
(gst_pad_perform_negotiate), (gst_pad_is_negotiated):
* gst/gstpad.h:
Copy over srcnotify, sinknotify when calling old pad_link
functions.  Add new is_negotiated() function.
* gst/gststructure.c: (gst_structure_copy):
Fix an incredibly stupid bug that should have been noticed
weeks ago.  _copy() returned the argument, not the new copy.
ChangeLog
gst/gstcaps.c
gst/gstcaps.h
gst/gstpad.c
gst/gstpad.h
gst/gststructure.c