harness: misc bugfixes
authorHavard Graff <havard.graff@gmail.com>
Sat, 29 Aug 2015 18:14:44 +0000 (20:14 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 31 Aug 2015 11:03:09 +0000 (12:03 +0100)
commitb2ce23074e5bd076573ca8c7e254e3080f5b75bc
treed764b4d4eb243d74e21ae7feb51a1c8f805f1abd
parent8a1f05865fc10b892749d67a8282be7ec8cb3eca
harness: misc bugfixes

1. Get a list of pad templates from the element class, not the
factory. This allows us to interact with test-elements that does
not have a factory.

2. Use the pad_template_caps in caps-queries when caps is not set
explicitly on the pad. Not doing so is simply wrong, and prohibits
interactions with special templates used for testing.

https://bugzilla.gnome.org/show_bug.cgi?id=754193
libs/gst/check/gstharness.c