gltestsrc: Use default get_caps implementation
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 11 May 2015 19:02:02 +0000 (15:02 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Mon, 11 May 2015 19:02:02 +0000 (15:02 -0400)
commitdf3d415906c9df32eaba5dbf42647c4b5cc16323
tree8fc66cc33788c6b6a634a559c03ff712cc137a2b
parentb8941efc4a4629ebf0bb521f62f3eb6f9711f5f4
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