appsrc: fix negotiation
authorWim Taymans <wim.taymans@collabora.co.uk>
Thu, 1 Dec 2011 14:38:10 +0000 (15:38 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Thu, 1 Dec 2011 14:38:10 +0000 (15:38 +0100)
commite064f9dbf6238ebe4b09ad4fee7b11713a324187
tree6e6fc5df1d64bbdb46b0c79a5a0db4d842c68831
parent8274abcb69f3b8a1dcc0cddfbb59aebeaef93da6
appsrc: fix negotiation

Remove old useless caps code.
Make a negotiate function and use the configured caps as the caps on the appsrc
pad. If nothing was configured, fall back to the parent implementation.
gst-libs/gst/app/gstappsrc.c