gst/gstpad.c: Rearrange/rewrite much of the pad negotiation code, since it resembled...
authorDavid Schleef <ds@schleef.org>
Tue, 23 Dec 2003 21:39:35 +0000 (21:39 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 23 Dec 2003 21:39:35 +0000 (21:39 +0000)
commit91954ff66b5f3ad3ce08a8076cb9f091592e2326
tree9677a619829e5a8022c9fcdf9d89a1e1d2629efa
parentb121bf357175a99258d7288c5d85ce3347cf6dc7
gst/gstpad.c: Rearrange/rewrite much of the pad negotiation code, since it resembled pasta.  This actually changes th...

Original commit message from CVS:
* gst/gstpad.c:
Rearrange/rewrite much of the pad negotiation code, since it
resembled pasta.  This actually changes the way some
negotiation works, since the previous code was inconsistent
depending on how it was invoked.  Add (internal) structure
GstPadLink, which is used to hold some information (more in
the future) about the link between two pads.  Fixes a number
of bugs, including random lossage of filter caps when the
initial negotiation is delayed.  A few functions are still
unimplemented.
* gst/gstpad.h:
Add GST_PAD_LINK_{SUCESSFUL|FAILED}() macros.  Please use
these when testing GstPadLinkReturn values instead of comparing
directly.
ChangeLog
gst/gstpad.c
gst/gstpad.h