glupload: fix tests and check for the new RECONFIGURE behaviour
authorAlessandro Decina <alessandro.d@gmail.com>
Mon, 29 Aug 2016 05:43:10 +0000 (15:43 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:22 +0000 (19:32 +0000)
commit29d6825f11279f59dd76fd5265dfe042374f4cff
tree7cd42390bbfbb3b69a6968c62523e9b4a3b6f55a
parentcc9f65f1915de606e947b69a9719ce61372ead0f
glupload: fix tests and check for the new RECONFIGURE behaviour

The tests were broken since 91fea30, which changed glupload to return
GST_GL_UPLOAD_RECONFIGURE if the texture target in the input buffers doesn't
match the texture-target configured in the output caps.

This commit fixes that and adds more checks for the new behaviour.
gst-libs/gst/gl/gstglupload.c
tests/check/libs/gstglupload.c