pad: don't use buffer caps for negotiation
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 May 2011 15:30:24 +0000 (17:30 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 6 May 2011 15:39:09 +0000 (17:39 +0200)
commit92b4c8967b9c73f572e869a8fd52a823b7a58a60
treed31754c39ef461021fdf61468cda535c5ff72d8a
parente4444937934532c80f85cd614d2069627a2ceb68
pad: don't use buffer caps for negotiation

Don't use the buffer caps for negotiation anymore but use the CAPS events.
Make the _set_caps method produce the CAPS event, add some backward
compatibility code to trigger the setcaps functions on src and sinkpads.
Remove all negotiation code from the chain functions.
Don't use the GST_PAD_CAPS variable anymore to store the caps but retrieve the
caps from the sticky event array.
gst/gstpad.c