gltestsrc: Use default get_caps implementation
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 11 May 2015 19:02:02 +0000 (15:02 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:00 +0000 (19:32 +0000)
commit685250928fe79ba8599af3137b06ba5390c7c171
tree64c627750bcaa4b344e40f055c82f029e0c1c173
parenteb626d8ddc1d3727187285d696afab26d65ba6d5
gltestsrc: Use default get_caps implementation

The custom code is wrong as it ignores the templates, which leads to
missing fields in the result. Instead, simply use the default get_caps
implementation which does it correctly (get the template, intersect
with filter and return).

https://bugzilla.gnome.org/show_bug.cgi?id=749237
ext/gl/gstgltestsrc.c