pad: tests for accept-caps handling with proxy pads
authorThiago Santos <thiagoss@osg.samsung.com>
Wed, 30 Sep 2015 00:14:19 +0000 (21:14 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Fri, 6 Nov 2015 14:11:11 +0000 (11:11 -0300)
commit533d0ac7f1d8dea1d2915a359225184302c74fc9
treed9256b7a308c3cd0280dc02cc48107d3a246510d
parent02d88fc3f3168e662750829c2488997eb2aba9ac
pad: tests for accept-caps handling with proxy pads

Adds 3 new tests for testing accept-caps behavior with
proxy-caps pads.

1) A scenario where there is no proxy. The caps should be compared to the
template caps of the pad

2) A scenario where there is a compatible pad. The caps should be compared
to the proxied pad caps (and also with the template)

3) A scenario where there is an incompatible proxy pad. No caps should be
possible at all.

https://bugzilla.gnome.org/show_bug.cgi?id=754112
tests/check/gst/gstpad.c