glfilter: Support non-2D texture targets
authorJan Schmidt <jan@centricular.com>
Tue, 27 Feb 2018 07:28:16 +0000 (18:28 +1100)
committerJan Schmidt <jan@centricular.com>
Wed, 28 Feb 2018 15:14:07 +0000 (02:14 +1100)
commitf15f60a062f2093d430fa2d6264a571b301bb7d7
tree3c015f5b4d000c78707bf038b862ff55523558a8
parentfae7f790be0b3ae61800712b496e2870c6c5f06f
glfilter: Support non-2D texture targets

Allow for sub-classes to change pad templates to
support other texture targets, and bind input textures
accordingly.

When setting the caps, also store the texture target.

By default, glfilter only reports 2D texture targets
in the default caps, but sub-classes can change that
and it would be nice if they could easily find out
which texture targets were negotiated.

This adds 2 fields to the public struct, but since
it's unreleased -base API, it's not an ABI break.
gst-libs/gst/gl/gstglfilter.c
gst-libs/gst/gl/gstglfilter.h