videoaggregator: fix caps queries to allow proper renegotiation
authorThiago Santos <thiagoss@osg.samsung.com>
Thu, 18 Feb 2016 13:57:51 +0000 (10:57 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Thu, 25 Feb 2016 14:43:43 +0000 (11:43 -0300)
commitf231598370ebc4364d16eab1c7e3dbdd7001668a
tree908895200f10c1a220be553fd9191c8c667a1fbf
parent924795c85c319ea1accf00ee97ac14aeecaf375e
videoaggregator: fix caps queries to allow proper renegotiation

When caps are already negotiated it should be possible to
select formats other than the one that was negotiated. If downstream
allows alpha video caps and it has already negotiated to a non-alpha
format, caps queries should still return the alpha caps as a possible
format as caps renegotiation can happen.

Includes tests (for compositor) to check that caps queries done after
a caps has been negotiated returns complete results

https://bugzilla.gnome.org/show_bug.cgi?id=757610
gst-libs/gst/video/gstvideoaggregator.c
tests/check/elements/compositor.c