pad: remove getcaps and use caps query
authorWim Taymans <wim.taymans@collabora.co.uk>
Tue, 15 Nov 2011 10:20:48 +0000 (11:20 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Tue, 15 Nov 2011 10:20:48 +0000 (11:20 +0100)
commitb5c3e254b10e6332397ba59fd5b6389f8a80741d
treee89cfb58d9a8aff5d87f738ea17a3b3419351f66
parentd162d97e1f9927cd71f64e4d80d95bc136bcf71a
pad: remove getcaps and use caps query

Remove the getcaps function on the pad and use the CAPS query for
the same effect.
Add PROXY_CAPS to the pad flags. This instructs the default caps event and query
handlers to pass on the CAPS related queries and events. This simplifies a lot
of elements that passtrough caps negotiation.
Make two utility functions to proxy caps queries and aggregate the result. Needs
to use the pad forward function instead later.
Make the _query_peer_ utility functions use the gst_pad_peer_query() function to
make sure the probes are emited properly.
29 files changed:
docs/gst/gstreamer-sections.txt
gst/gstdebugutils.c
gst/gstelement.c
gst/gstghostpad.c
gst/gstghostpad.h
gst/gstobject.c
gst/gstpad.c
gst/gstpad.h
gst/gstquark.c
gst/gstquark.h
gst/gstquery.c
gst/gstquery.h
gst/gstutils.c
gst/gstutils.h
libs/gst/base/gstbaseparse.c
libs/gst/base/gstbasesink.c
libs/gst/base/gstbasesrc.c
libs/gst/base/gstbasetransform.c
plugins/elements/gstfunnel.c
plugins/elements/gstinputselector.c
plugins/elements/gstmultiqueue.c
plugins/elements/gstoutputselector.c
plugins/elements/gstqueue.c
plugins/elements/gstqueue2.c
plugins/elements/gsttee.c
plugins/elements/gstvalve.c
tests/check/elements/multiqueue.c
tests/check/gst/gstutils.c
tools/gst-inspect.c