output-selector: Add pad-negotiation-mode property
authorThiago Santos <thiago.sousa.santos@collabora.co.uk>
Tue, 4 Jan 2011 15:42:50 +0000 (12:42 -0300)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 6 Jan 2011 18:42:29 +0000 (18:42 +0000)
commit757dc90faa163a235e1d16791a0a0f8c74715768
tree968a0c3c69602a2eb04aa2f5e7e8bb4a64aeb7b2
parentc8ffd4e395261cdf6a88ac3ff13539fcc3add5cc
output-selector: Add pad-negotiation-mode property

Adds getcaps/setcaps to output-selector and adds a property
to select which type of negotiation should be done.

The available modes are:
 * none:   no negotiation (current behavior), getcaps return ANY and
           setcaps aren't set on any of the peers
 * all:    use all pads (default), getcaps returns the intersection of
           peer pads and setcaps is set on all peers
 * active: getcaps and setcaps are proxied to the active pad

https://bugzilla.gnome.org/show_bug.cgi?id=638381
plugins/elements/gstoutputselector.c
plugins/elements/gstoutputselector.h
tests/check/elements/selector.c